Home
last modified time | relevance | path

Searched refs:ctx_distance (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v1_0.c265 tmp = RREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v1_0_setup_vmid_config()
296 i * hub->ctx_distance, tmp); in gfxhub_v1_0_setup_vmid_config()
350 i * hub->ctx_distance, 0); in gfxhub_v1_0_gart_disable()
438 hub->ctx_distance = mmVM_CONTEXT1_CNTL - mmVM_CONTEXT0_CNTL; in gfxhub_v1_0_init()
Dgfxhub_v2_0.c290 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_0_setup_vmid_config()
316 i * hub->ctx_distance, tmp); in gfxhub_v2_0_setup_vmid_config()
370 i * hub->ctx_distance, 0); in gfxhub_v2_0_gart_disable()
458 hub->ctx_distance = mmGCVM_CONTEXT1_CNTL - mmGCVM_CONTEXT0_CNTL; in gfxhub_v2_0_init()
Dgfxhub_v3_0_3.c302 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v3_0_3_setup_vmid_config()
328 i * hub->ctx_distance, tmp); in gfxhub_v3_0_3_setup_vmid_config()
382 i * hub->ctx_distance, 0); in gfxhub_v3_0_3_gart_disable()
474 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v3_0_3_init()
Dgfxhub_v3_0.c297 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v3_0_setup_vmid_config()
323 i * hub->ctx_distance, tmp); in gfxhub_v3_0_setup_vmid_config()
389 i * hub->ctx_distance, 0); in gfxhub_v3_0_gart_disable()
486 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v3_0_init()
Dmmhub_v3_0_2.c318 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, regMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v3_0_2_setup_vmid_config()
345 i * hub->ctx_distance, tmp); in mmhub_v3_0_2_setup_vmid_config()
399 i * hub->ctx_distance, 0); in mmhub_v3_0_2_gart_disable()
492 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_2_init()
Dgfxhub_v11_5_0.c300 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v11_5_0_setup_vmid_config()
326 i * hub->ctx_distance, tmp); in gfxhub_v11_5_0_setup_vmid_config()
392 i * hub->ctx_distance, 0); in gfxhub_v11_5_0_gart_disable()
489 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v11_5_0_init()
Dmmhub_v3_0_1.c313 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, regMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v3_0_1_setup_vmid_config()
340 i * hub->ctx_distance, tmp); in mmhub_v3_0_1_setup_vmid_config()
394 i * hub->ctx_distance, 0); in mmhub_v3_0_1_gart_disable()
482 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_1_init()
Dmmhub_v2_0.c370 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v2_0_setup_vmid_config()
397 i * hub->ctx_distance, tmp); in mmhub_v2_0_setup_vmid_config()
451 i * hub->ctx_distance, 0); in mmhub_v2_0_gart_disable()
544 hub->ctx_distance = mmMMVM_CONTEXT1_CNTL - mmMMVM_CONTEXT0_CNTL; in mmhub_v2_0_init()
Dmmhub_v2_3.c288 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v2_3_setup_vmid_config()
315 i * hub->ctx_distance, tmp); in mmhub_v2_3_setup_vmid_config()
383 i * hub->ctx_distance, 0); in mmhub_v2_3_gart_disable()
472 hub->ctx_distance = mmMMVM_CONTEXT1_CNTL - mmMMVM_CONTEXT0_CNTL; in mmhub_v2_3_init()
Dmmhub_v3_3.c310 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, regMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v3_3_setup_vmid_config()
337 i * hub->ctx_distance, tmp); in mmhub_v3_3_setup_vmid_config()
440 i * hub->ctx_distance, 0); in mmhub_v3_3_gart_disable()
528 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_3_init()
Dmmhub_v3_0.c326 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, regMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v3_0_setup_vmid_config()
353 i * hub->ctx_distance, tmp); in mmhub_v3_0_setup_vmid_config()
407 i * hub->ctx_distance, 0); in mmhub_v3_0_gart_disable()
500 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_init()
Dmmhub_v1_8.c348 i * hub->ctx_distance); in mmhub_v1_8_setup_vmid_config()
377 i * hub->ctx_distance, tmp); in mmhub_v1_8_setup_vmid_config()
443 i * hub->ctx_distance, 0); in mmhub_v1_8_gart_disable()
540 hub->ctx_distance = regVM_CONTEXT1_CNTL - regVM_CONTEXT0_CNTL; in mmhub_v1_8_init()
Dgfxhub_v1_2.c335 i * hub->ctx_distance); in gfxhub_v1_2_xcc_setup_vmid_config()
373 i * hub->ctx_distance, tmp); in gfxhub_v1_2_xcc_setup_vmid_config()
449 i * hub->ctx_distance, 0); in gfxhub_v1_2_xcc_gart_disable()
564 hub->ctx_distance = regVM_CONTEXT1_CNTL - in gfxhub_v1_2_xcc_init()
Dmmhub_v1_0.c247 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v1_0_setup_vmid_config()
274 i * hub->ctx_distance, tmp); in mmhub_v1_0_setup_vmid_config()
350 i * hub->ctx_distance, 0); in mmhub_v1_0_gart_disable()
441 hub->ctx_distance = mmVM_CONTEXT1_CNTL - mmVM_CONTEXT0_CNTL; in mmhub_v1_0_init()
Dgfxhub_v12_0.c331 i * hub->ctx_distance, tmp); in gfxhub_v12_0_setup_vmid_config()
397 i * hub->ctx_distance, 0); in gfxhub_v12_0_gart_disable()
494 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v12_0_init()
Dgfxhub_v2_1.c302 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_1_setup_vmid_config()
328 i * hub->ctx_distance, tmp); in gfxhub_v2_1_setup_vmid_config()
394 i * hub->ctx_distance, 0); in gfxhub_v2_1_gart_disable()
489 hub->ctx_distance = mmGCVM_CONTEXT1_CNTL - mmGCVM_CONTEXT0_CNTL; in gfxhub_v2_1_init()
Dmmhub_v4_1_0.c354 i * hub->ctx_distance, tmp); in mmhub_v4_1_0_setup_vmid_config()
408 i * hub->ctx_distance, 0); in mmhub_v4_1_0_gart_disable()
502 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v4_1_0_init()
Dmmhub_v1_7.c277 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, regVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v1_7_setup_vmid_config()
306 i * hub->ctx_distance, tmp); in mmhub_v1_7_setup_vmid_config()
358 i * hub->ctx_distance, 0); in mmhub_v1_7_gart_disable()
447 hub->ctx_distance = regVM_CONTEXT1_CNTL - regVM_CONTEXT0_CNTL; in mmhub_v1_7_init()
Dmmhub_v9_4.c311 hubid * MMHUB_INSTANCE_REGISTER_OFFSET + i * hub->ctx_distance); in mmhub_v9_4_setup_vmid_config()
341 i * hub->ctx_distance, tmp); in mmhub_v9_4_setup_vmid_config()
417 i * hub->ctx_distance, 0); in mmhub_v9_4_gart_disable()
548 hub[i]->ctx_distance = mmVML2VC0_VM_CONTEXT1_CNTL - in mmhub_v9_4_init()
Damdgpu_gmc.h109 uint32_t ctx_distance; member
Damdgpu_gmc.c907 reg = hub->vm_context0_cntl + hub->ctx_distance * i; in amdgpu_gmc_set_vm_fault_masks()