Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ih.c75 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()
H A Damdgpu_ring.c242 ring->rptr_offs = amdgpu_mes_ctx_get_offs(ring, in amdgpu_ring_init()
253 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()
290 amdgpu_ring_get_gpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
292 amdgpu_ring_get_cpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
387 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
H A Dsdma_v4_4_2.c217 rptr = READ_ONCE(*((u64 *)&ring->adev->wb.wb[ring->rptr_offs])); in sdma_v4_4_2_ring_get_rptr()
683 wb_offset = (ring->rptr_offs * 4); in sdma_v4_4_2_gfx_resume()
771 wb_offset = (ring->rptr_offs * 4); in sdma_v4_4_2_page_resume()
H A Damdgpu_ring.h250 unsigned rptr_offs; member
H A Dgfx_v9_4_3.c1886 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_4_3_xcc_mqd_init()
2940 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_4_3_ring_get_rptr_compute()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ring.c384 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
389 ring->rptr_offs = rptr_offs; in radeon_ring_init()
H A Dni_dma.c58 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
H A Dr600_dma.c56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
H A Dcik_sdma.c68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
H A Dradeon.h796 unsigned rptr_offs; member
995 unsigned rptr_offs, u32 nop);
H A Dni.c1454 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
H A Dcik.c4119 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr()
4145 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
H A Dr100.c1099 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
H A Dr600.c2624 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()