/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
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() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 332 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 334 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 337 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 490 hub->ctx_addr_distance = mmGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v2_1_init() 668 i * hub->ctx_addr_distance, ~0); in gfxhub_v2_1_halt() 670 i * hub->ctx_addr_distance, ~0); in gfxhub_v2_1_halt() 672 i * hub->ctx_addr_distance, in gfxhub_v2_1_halt() [all …]
|
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() 298 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 300 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 302 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 305 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 439 hub->ctx_addr_distance = mmVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v1_0_init()
|
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() 459 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() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config() 332 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config() 334 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() 337 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() 475 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() 487 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v3_0_init()
|
D | gfxhub_v12_0.c | 133 hub->ctx_addr_distance * vmid, in gfxhub_v12_0_setup_vm_pt_regs() 137 hub->ctx_addr_distance * vmid, in gfxhub_v12_0_setup_vm_pt_regs() 333 i * hub->ctx_addr_distance, 0); in gfxhub_v12_0_setup_vmid_config() 335 i * hub->ctx_addr_distance, 0); in gfxhub_v12_0_setup_vmid_config() 337 i * hub->ctx_addr_distance, in gfxhub_v12_0_setup_vmid_config() 340 i * hub->ctx_addr_distance, in gfxhub_v12_0_setup_vmid_config() 495 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v12_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() 347 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config() 349 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config() 351 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config() 354 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config() 493 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_2_init()
|
D | gfxhub_v11_5_0.c | 130 hub->ctx_addr_distance * vmid, in gfxhub_v11_5_0_setup_vm_pt_regs() 134 hub->ctx_addr_distance * vmid, in gfxhub_v11_5_0_setup_vm_pt_regs() 328 i * hub->ctx_addr_distance, 0); in gfxhub_v11_5_0_setup_vmid_config() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v11_5_0_setup_vmid_config() 332 i * hub->ctx_addr_distance, in gfxhub_v11_5_0_setup_vmid_config() 335 i * hub->ctx_addr_distance, in gfxhub_v11_5_0_setup_vmid_config() 490 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v11_5_0_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() 342 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config() 344 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config() 346 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config() 349 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config() 483 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() 473 hub->ctx_addr_distance = mmMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v2_3_init()
|
D | mmhub_v3_3.c | 139 hub->ctx_addr_distance * vmid, in mmhub_v3_3_setup_vm_pt_regs() 143 hub->ctx_addr_distance * vmid, in mmhub_v3_3_setup_vm_pt_regs() 339 i * hub->ctx_addr_distance, 0); in mmhub_v3_3_setup_vmid_config() 341 i * hub->ctx_addr_distance, 0); in mmhub_v3_3_setup_vmid_config() 343 i * hub->ctx_addr_distance, in mmhub_v3_3_setup_vmid_config() 346 i * hub->ctx_addr_distance, in mmhub_v3_3_setup_vmid_config() 529 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_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_v4_1_0.c | 142 hub->ctx_addr_distance * vmid, in mmhub_v4_1_0_setup_vm_pt_regs() 146 hub->ctx_addr_distance * vmid, in mmhub_v4_1_0_setup_vm_pt_regs() 356 i * hub->ctx_addr_distance, 0); in mmhub_v4_1_0_setup_vmid_config() 358 i * hub->ctx_addr_distance, 0); in mmhub_v4_1_0_setup_vmid_config() 360 i * hub->ctx_addr_distance, in mmhub_v4_1_0_setup_vmid_config() 363 i * hub->ctx_addr_distance, in mmhub_v4_1_0_setup_vmid_config() 503 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v4_1_0_init()
|
D | mmhub_v1_8.c | 67 hub->ctx_addr_distance * vmid, in mmhub_v1_8_setup_vm_pt_regs() 72 hub->ctx_addr_distance * vmid, in mmhub_v1_8_setup_vm_pt_regs() 380 i * hub->ctx_addr_distance, 0); in mmhub_v1_8_setup_vmid_config() 383 i * hub->ctx_addr_distance, 0); in mmhub_v1_8_setup_vmid_config() 386 i * hub->ctx_addr_distance, in mmhub_v1_8_setup_vmid_config() 390 i * hub->ctx_addr_distance, in mmhub_v1_8_setup_vmid_config() 541 hub->ctx_addr_distance = in mmhub_v1_8_init()
|
D | gfxhub_v1_2.c | 54 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs() 59 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs() 376 i * hub->ctx_addr_distance, 0); in gfxhub_v1_2_xcc_setup_vmid_config() 379 i * hub->ctx_addr_distance, 0); in gfxhub_v1_2_xcc_setup_vmid_config() 382 i * hub->ctx_addr_distance, in gfxhub_v1_2_xcc_setup_vmid_config() 386 i * hub->ctx_addr_distance, in gfxhub_v1_2_xcc_setup_vmid_config() 566 hub->ctx_addr_distance = in gfxhub_v1_2_xcc_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() 276 i * hub->ctx_addr_distance, 0); in mmhub_v1_0_setup_vmid_config() 278 i * hub->ctx_addr_distance, 0); in mmhub_v1_0_setup_vmid_config() 280 i * hub->ctx_addr_distance, in mmhub_v1_0_setup_vmid_config() 283 i * hub->ctx_addr_distance, in mmhub_v1_0_setup_vmid_config() 442 hub->ctx_addr_distance = mmVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v1_0_init()
|
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 | 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_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 | gmc_v11_0.c | 362 (hub->ctx_addr_distance * vmid), in gmc_v11_0_emit_flush_gpu_tlb() 366 (hub->ctx_addr_distance * vmid), in gmc_v11_0_emit_flush_gpu_tlb()
|
D | gmc_v12_0.c | 382 (hub->ctx_addr_distance * vmid), in gmc_v12_0_emit_flush_gpu_tlb() 386 (hub->ctx_addr_distance * vmid), in gmc_v12_0_emit_flush_gpu_tlb()
|
D | gmc_v10_0.c | 397 (hub->ctx_addr_distance * vmid), in gmc_v10_0_emit_flush_gpu_tlb() 401 (hub->ctx_addr_distance * vmid), in gmc_v10_0_emit_flush_gpu_tlb()
|
D | amdgpu_gmc.h | 110 uint32_t ctx_addr_distance; /* include LO32/HI32 */ member
|
D | jpeg_v1_0.c | 392 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v1_0_decode_ring_emit_vm_flush()
|