/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ih.c | 75 unsigned wptr_offs, rptr_offs; in amdgpu_ih_ring_init() local 81 r = amdgpu_device_wb_get(adev, &rptr_offs); in amdgpu_ih_ring_init() 92 amdgpu_device_wb_free(adev, rptr_offs); in amdgpu_ih_ring_init() 99 ih->rptr_addr = adev->wb.gpu_addr + rptr_offs * 4; in amdgpu_ih_ring_init() 100 ih->rptr_cpu = &adev->wb.wb[rptr_offs]; in amdgpu_ih_ring_init()
|
D | amdgpu_ring.c | 196 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init() 293 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
|
D | si_dma.c | 43 return ring->adev->wb.wb[ring->rptr_offs>>2]; in si_dma_ring_get_rptr() 155 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in si_dma_start()
|
D | amdgpu_ring.h | 210 unsigned rptr_offs; member
|
D | mes_v10_1.c | 59 return ring->adev->wb.wb[ring->rptr_offs]; in mes_v10_1_ring_get_rptr() 676 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in mes_v10_1_mqd_init()
|
D | sdma_v2_4.c | 197 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v2_4_ring_get_rptr() 418 wb_offset = (ring->rptr_offs * 4); in sdma_v2_4_gfx_resume()
|
D | cik_sdma.c | 167 rptr = ring->adev->wb.wb[ring->rptr_offs]; in cik_sdma_ring_get_rptr() 440 wb_offset = (ring->rptr_offs * 4); in cik_sdma_gfx_resume()
|
D | sdma_v3_0.c | 353 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v3_0_ring_get_rptr() 656 wb_offset = (ring->rptr_offs * 4); in sdma_v3_0_gfx_resume()
|
D | sdma_v5_2.c | 258 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v5_2_ring_get_rptr() 595 wb_offset = (ring->rptr_offs * 4); in sdma_v5_2_gfx_resume()
|
D | sdma_v4_0.c | 697 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v4_0_ring_get_rptr() 1148 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_gfx_resume() 1238 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_page_resume()
|
D | sdma_v5_0.c | 309 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v5_0_ring_get_rptr() 664 wb_offset = (ring->rptr_offs * 4); in sdma_v5_0_gfx_resume()
|
D | gfx_v6_0.c | 2119 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_gfx_resume() 2141 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v6_0_ring_get_rptr() 2205 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume() 2224 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume()
|
D | gfx_v7_0.c | 2631 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_cp_gfx_resume() 2656 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v7_0_ring_get_rptr() 2986 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_mqd_init()
|
D | gfx_v10_0.c | 5920 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume() 5958 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume() 6168 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_gfx_mqd_init() 6458 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_compute_mqd_init() 7695 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 is 32bit rptr*/ in gfx_v10_0_ring_get_rptr_gfx() 7730 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 hardware is 32bit rptr */ in gfx_v10_0_ring_get_rptr_compute()
|
D | gfx_v9_0.c | 3287 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_cp_gfx_resume() 3505 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_mqd_init() 5205 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 is 32bit rptr*/ in gfx_v9_0_ring_get_rptr_gfx() 5395 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_0_ring_get_rptr_compute()
|
D | gfx_v8_0.c | 4301 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_gfx_resume() 4513 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_mqd_init() 6041 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_ring.c | 380 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument 385 ring->rptr_offs = rptr_offs; in radeon_ring_init()
|
D | ni_dma.c | 59 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
|
D | r600_dma.c | 57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
|
D | cik_sdma.c | 69 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
|
D | radeon.h | 841 unsigned rptr_offs; member 1040 unsigned rptr_offs, u32 nop);
|
D | ni.c | 1480 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
|
D | cik.c | 4129 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr() 4155 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
|
D | r100.c | 1068 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
|
D | r600.c | 2623 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()
|