Home
last modified time | relevance | path

Searched refs:ctx_addr_distance (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v2_1.c129 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 …]
Dgfxhub_v1_0.c46 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()
Dgfxhub_v2_0.c126 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()
Dgfxhub_v3_0_3.c128 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()
Dgfxhub_v3_0.c125 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()
Dgfxhub_v12_0.c133 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()
Dmmhub_v3_0_2.c135 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()
Dgfxhub_v11_5_0.c130 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()
Dmmhub_v3_0_1.c144 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()
Dmmhub_v2_0.c193 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()
Dmmhub_v2_3.c127 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()
Dmmhub_v3_3.c139 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()
Dmmhub_v3_0.c142 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()
Dmmhub_v4_1_0.c142 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()
Dmmhub_v1_8.c67 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()
Dgfxhub_v1_2.c54 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()
Dmmhub_v1_0.c60 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()
Dmmhub_v1_7.c60 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()
Dvcn_sw_ring.c74 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in vcn_dec_sw_ring_emit_vm_flush()
Dmmhub_v9_4.c64 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()
Dgmc_v11_0.c362 (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()
Dgmc_v12_0.c382 (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()
Dgmc_v10_0.c397 (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()
Damdgpu_gmc.h110 uint32_t ctx_addr_distance; /* include LO32/HI32 */ member
Djpeg_v1_0.c392 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v1_0_decode_ring_emit_vm_flush()

12