/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | gfxhub_v1_0.c | 46 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs() 50 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs() 296 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 298 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 300 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 303 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 436 hub->ctx_addr_distance = mmVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v1_0_init()
|
D | gfxhub_v2_1.c | 129 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs() 133 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs() 327 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 329 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 331 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 334 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 484 hub->ctx_addr_distance = mmGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v2_1_init() 660 i * hub->ctx_addr_distance, ~0); in gfxhub_v2_1_halt() 662 i * hub->ctx_addr_distance, ~0); in gfxhub_v2_1_halt() 664 i * hub->ctx_addr_distance, in gfxhub_v2_1_halt() [all …]
|
D | gfxhub_v2_0.c | 126 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs() 130 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs() 318 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config() 320 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config() 322 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config() 325 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config() 458 hub->ctx_addr_distance = mmGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v2_0_init()
|
D | gfxhub_v3_0_3.c | 128 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs() 132 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs() 328 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config() 332 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() 335 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() 485 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v3_0_3_init()
|
D | gfxhub_v3_0.c | 125 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs() 129 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs() 325 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config() 327 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config() 329 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config() 332 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config() 509 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v3_0_init()
|
D | mmhub_v3_0_2.c | 135 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs() 139 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs() 348 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config() 350 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config() 352 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config() 355 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config() 494 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_2_init()
|
D | mmhub_v3_0_1.c | 144 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs() 148 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs() 343 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config() 345 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config() 347 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config() 350 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config() 484 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_1_init()
|
D | mmhub_v2_0.c | 193 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 197 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 399 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 401 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 403 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() 406 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() 545 hub->ctx_addr_distance = mmMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v2_0_init()
|
D | mmhub_v2_3.c | 127 hub->ctx_addr_distance * vmid, lower_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs() 130 hub->ctx_addr_distance * vmid, upper_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs() 317 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config() 319 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config() 321 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config() 324 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config() 472 hub->ctx_addr_distance = mmMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v2_3_init()
|
D | mmhub_v3_0.c | 142 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs() 146 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs() 355 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config() 357 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config() 359 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config() 362 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config() 501 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_init()
|
D | mmhub_v1_0.c | 60 hub->ctx_addr_distance * vmid, in mmhub_v1_0_setup_vm_pt_regs() 64 hub->ctx_addr_distance * vmid, in mmhub_v1_0_setup_vm_pt_regs() 274 i * hub->ctx_addr_distance, 0); in mmhub_v1_0_setup_vmid_config() 276 i * hub->ctx_addr_distance, 0); in mmhub_v1_0_setup_vmid_config() 278 i * hub->ctx_addr_distance, in mmhub_v1_0_setup_vmid_config() 281 i * hub->ctx_addr_distance, in mmhub_v1_0_setup_vmid_config() 440 hub->ctx_addr_distance = mmVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v1_0_init()
|
D | vcn_sw_ring.c | 74 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in vcn_dec_sw_ring_emit_vm_flush()
|
D | mmhub_v1_7.c | 60 hub->ctx_addr_distance * vmid, lower_32_bits(page_table_base)); in mmhub_v1_7_setup_vm_pt_regs() 63 hub->ctx_addr_distance * vmid, upper_32_bits(page_table_base)); in mmhub_v1_7_setup_vm_pt_regs() 308 i * hub->ctx_addr_distance, 0); in mmhub_v1_7_setup_vmid_config() 310 i * hub->ctx_addr_distance, 0); in mmhub_v1_7_setup_vmid_config() 312 i * hub->ctx_addr_distance, in mmhub_v1_7_setup_vmid_config() 315 i * hub->ctx_addr_distance, in mmhub_v1_7_setup_vmid_config() 448 hub->ctx_addr_distance = regVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v1_7_init()
|
D | mmhub_v9_4.c | 64 hub->ctx_addr_distance * vmid + hubid * MMHUB_INSTANCE_REGISTER_OFFSET, in mmhub_v9_4_setup_hubid_vm_pt_regs() 69 hub->ctx_addr_distance * vmid + hubid * MMHUB_INSTANCE_REGISTER_OFFSET, in mmhub_v9_4_setup_hubid_vm_pt_regs() 345 i * hub->ctx_addr_distance, 0); in mmhub_v9_4_setup_vmid_config() 349 i * hub->ctx_addr_distance, 0); in mmhub_v9_4_setup_vmid_config() 353 i * hub->ctx_addr_distance, in mmhub_v9_4_setup_vmid_config() 358 i * hub->ctx_addr_distance, in mmhub_v9_4_setup_vmid_config() 550 hub[i]->ctx_addr_distance = mmVML2VC0_VM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v9_4_init()
|
D | amdgpu_gmc.h | 99 uint32_t ctx_addr_distance; /* include LO32/HI32 */ member
|
D | gmc_v11_0.c | 385 (hub->ctx_addr_distance * vmid), in gmc_v11_0_emit_flush_gpu_tlb() 389 (hub->ctx_addr_distance * vmid), in gmc_v11_0_emit_flush_gpu_tlb()
|
D | gmc_v10_0.c | 494 (hub->ctx_addr_distance * vmid), in gmc_v10_0_emit_flush_gpu_tlb() 498 (hub->ctx_addr_distance * vmid), in gmc_v10_0_emit_flush_gpu_tlb()
|
D | jpeg_v1_0.c | 385 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v1_0_decode_ring_emit_vm_flush()
|
D | jpeg_v2_0.c | 622 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v2_0_dec_ring_emit_vm_flush()
|
D | gmc_v9_0.c | 994 (hub->ctx_addr_distance * vmid), in gmc_v9_0_emit_flush_gpu_tlb() 998 (hub->ctx_addr_distance * vmid), in gmc_v9_0_emit_flush_gpu_tlb()
|
D | uvd_v7_0.c | 1406 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in uvd_v7_0_ring_emit_vm_flush() 1449 vmid * hub->ctx_addr_distance, in uvd_v7_0_enc_ring_emit_vm_flush()
|
D | vcn_v1_0.c | 1556 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in vcn_v1_0_dec_ring_emit_vm_flush() 1701 vmid * hub->ctx_addr_distance, in vcn_v1_0_enc_ring_emit_vm_flush()
|
D | vcn_v2_0.c | 1519 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in vcn_v2_0_dec_ring_emit_vm_flush() 1679 vmid * hub->ctx_addr_distance, in vcn_v2_0_enc_ring_emit_vm_flush()
|
D | vce_v4_0.c | 1030 vmid * hub->ctx_addr_distance, in vce_v4_0_emit_vm_flush()
|