Searched refs:rptr_offs (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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()
|
H A D | amdgpu_ring.c | 238 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 D | amdgpu_ring.h | 246 unsigned rptr_offs; member
|
H A D | sdma_v4_4_2.c | 160 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 D | gfx_v9_4_3.c | 1559 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 D | radeon_ring.c | 382 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument 387 ring->rptr_offs = rptr_offs; in radeon_ring_init()
|
H A D | ni_dma.c | 58 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
|
H A D | r600_dma.c | 56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
|
H A D | cik_sdma.c | 68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
|
H A D | radeon.h | 796 unsigned rptr_offs; member 995 unsigned rptr_offs, u32 nop);
|
H A D | ni.c | 1467 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
|
H A D | cik.c | 4119 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 D | r100.c | 1098 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
|
H A D | r600.c | 2624 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()
|