Home
last modified time | relevance | path

Searched refs:rptr_offs (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ih.c76 unsigned wptr_offs, rptr_offs; in amdgpu_ih_ring_init() local
82 r = amdgpu_device_wb_get(adev, &rptr_offs); in amdgpu_ih_ring_init()
93 amdgpu_device_wb_free(adev, rptr_offs); in amdgpu_ih_ring_init()
100 ih->rptr_addr = adev->wb.gpu_addr + rptr_offs * 4; in amdgpu_ih_ring_init()
101 ih->rptr_cpu = &adev->wb.wb[rptr_offs]; in amdgpu_ih_ring_init()
Damdgpu_ring.c267 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()
360 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
Dsi_dma.c43 return ring->adev->wb.wb[ring->rptr_offs>>2]; in si_dma_ring_get_rptr()
156 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in si_dma_start()
Damdgpu_ring.h186 unsigned rptr_offs; member
Dsdma_v2_4.c197 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v2_4_ring_get_rptr()
420 wb_offset = (ring->rptr_offs * 4); in sdma_v2_4_gfx_resume()
Dcik_sdma.c167 rptr = ring->adev->wb.wb[ring->rptr_offs]; in cik_sdma_ring_get_rptr()
442 wb_offset = (ring->rptr_offs * 4); in cik_sdma_gfx_resume()
Dsdma_v3_0.c353 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v3_0_ring_get_rptr()
658 wb_offset = (ring->rptr_offs * 4); in sdma_v3_0_gfx_resume()
Dsdma_v4_0.c546 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v4_0_ring_get_rptr()
992 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_gfx_resume()
1082 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_page_resume()
Dsdma_v5_0.c273 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v5_0_ring_get_rptr()
617 wb_offset = (ring->rptr_offs * 4); in sdma_v5_0_gfx_resume()
Dgfx_v6_0.c2124 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_gfx_resume()
2146 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v6_0_ring_get_rptr()
2210 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume()
2229 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume()
Dgfx_v10_0.c2804 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume()
2840 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume()
3022 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_gfx_mqd_init()
3301 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_compute_mqd_init()
4320 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 is 32bit rptr*/ in gfx_v10_0_ring_get_rptr_gfx()
4355 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 hardware is 32bit rptr */ in gfx_v10_0_ring_get_rptr_compute()
Dgfx_v7_0.c2635 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_cp_gfx_resume()
2660 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v7_0_ring_get_rptr()
2994 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_mqd_init()
Dgfx_v9_0.c3230 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()
4954 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 is 32bit rptr*/ in gfx_v9_0_ring_get_rptr_gfx()
5144 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_0_ring_get_rptr_compute()
Dgfx_v8_0.c4322 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_gfx_resume()
4524 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_mqd_init()
6043 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ring.c380 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
385 ring->rptr_offs = rptr_offs; in radeon_ring_init()
Dni_dma.c59 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
Dr600_dma.c57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
Dcik_sdma.c69 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
Dradeon.h836 unsigned rptr_offs; member
1035 unsigned rptr_offs, u32 nop);
Dni.c1480 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
Dcik.c4133 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr()
4159 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
Dr100.c1068 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
Dr600.c2623 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()