Home
last modified time | relevance | path

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

/openbmc/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.c238 ring->rptr_offs = amdgpu_mes_ctx_get_offs(ring, in amdgpu_ring_init()
249 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()
286 amdgpu_ring_get_gpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
288 amdgpu_ring_get_cpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
383 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
H A Damdgpu_ring.h246 unsigned rptr_offs; member
H A Dsdma_v4_4_2.c160 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v4_4_2_ring_get_rptr()
628 wb_offset = (ring->rptr_offs * 4); in sdma_v4_4_2_gfx_resume()
716 wb_offset = (ring->rptr_offs * 4); in sdma_v4_4_2_page_resume()
H A Dgfx_v9_4_3.c1559 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_4_3_xcc_mqd_init()
2595 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_4_3_ring_get_rptr_compute()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_ring.c382 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
387 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.c1467 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.c1098 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()