Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
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()
Damdgpu_ring.c217 ring->rptr_offs = amdgpu_mes_ctx_get_offs(ring, in amdgpu_ring_init()
228 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()
265 amdgpu_ring_get_gpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
267 amdgpu_ring_get_cpu_addr(ring, ring->rptr_offs); in amdgpu_ring_init()
355 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
Damdgpu_ring.h233 unsigned rptr_offs; member
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_ring.c382 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
387 ring->rptr_offs = rptr_offs; in radeon_ring_init()
Dr600_dma.c56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
Dni_dma.c58 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
Dcik_sdma.c68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
Dradeon.h834 unsigned rptr_offs; member
1033 unsigned rptr_offs, u32 nop);
Dni.c1467 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
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()
Dr100.c1078 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
Dr600.c2624 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()