Searched refs:wptr_offs (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ih.c | 75 unsigned wptr_offs, rptr_offs; in amdgpu_ih_ring_init() local 77 r = amdgpu_device_wb_get(adev, &wptr_offs); in amdgpu_ih_ring_init() 83 amdgpu_device_wb_free(adev, wptr_offs); in amdgpu_ih_ring_init() 93 amdgpu_device_wb_free(adev, wptr_offs); in amdgpu_ih_ring_init() 97 ih->wptr_addr = adev->wb.gpu_addr + wptr_offs * 4; in amdgpu_ih_ring_init() 98 ih->wptr_cpu = &adev->wb.wb[wptr_offs]; in amdgpu_ih_ring_init()
|
D | amdgpu_ring.c | 240 ring->wptr_offs = amdgpu_mes_ctx_get_offs(ring, in amdgpu_ring_init() 255 r = amdgpu_device_wb_get(adev, &ring->wptr_offs); in amdgpu_ring_init() 291 amdgpu_ring_get_gpu_addr(ring, ring->wptr_offs); in amdgpu_ring_init() 293 amdgpu_ring_get_cpu_addr(ring, ring->wptr_offs); in amdgpu_ring_init() 384 amdgpu_device_wb_free(ring->adev, ring->wptr_offs); in amdgpu_ring_fini()
|
D | sdma_v4_4_2.c | 180 wptr = READ_ONCE(*((u64 *)&adev->wb.wb[ring->wptr_offs])); in sdma_v4_4_2_ring_get_wptr() 206 u64 *wb = (u64 *)&adev->wb.wb[ring->wptr_offs]; in sdma_v4_4_2_ring_set_wptr() 212 ring->wptr_offs, in sdma_v4_4_2_ring_set_wptr() 249 wptr = READ_ONCE(*((u64 *)&adev->wb.wb[ring->wptr_offs])); in sdma_v4_4_2_page_ring_get_wptr() 271 u64 *wb = (u64 *)&adev->wb.wb[ring->wptr_offs]; in sdma_v4_4_2_page_ring_set_wptr() 673 wptr_gpu_addr = adev->wb.gpu_addr + (ring->wptr_offs * 4); in sdma_v4_4_2_gfx_resume() 762 wptr_gpu_addr = adev->wb.gpu_addr + (ring->wptr_offs * 4); in sdma_v4_4_2_page_resume()
|
D | jpeg_v4_0_3.c | 617 return adev->wb.wb[ring->wptr_offs]; in jpeg_v4_0_3_dec_ring_get_wptr() 637 adev->wb.wb[ring->wptr_offs] = lower_32_bits(ring->wptr); in jpeg_v4_0_3_dec_ring_set_wptr()
|
D | amdgpu_ring.h | 271 unsigned wptr_offs; member
|
D | gfx_v9_4_3.c | 83 uint64_t wptr_addr = adev->wb.gpu_addr + (ring->wptr_offs * 4); in gfx_v9_4_3_kiq_map_queues() 1565 wb_gpu_addr = adev->wb.gpu_addr + (ring->wptr_offs * 4); in gfx_v9_4_3_xcc_mqd_init() 1830 atomic64_set((atomic64_t *)&adev->wb.wb[ring->wptr_offs], 0); in gfx_v9_4_3_xcc_kcq_init_queue() 2604 wptr = atomic64_read((atomic64_t *)&ring->adev->wb.wb[ring->wptr_offs]); in gfx_v9_4_3_ring_get_wptr_compute() 2616 atomic64_set((atomic64_t *)&adev->wb.wb[ring->wptr_offs], ring->wptr); in gfx_v9_4_3_ring_set_wptr_compute()
|
D | amdgpu_mes.c | 948 ring->mes_ctx->meta_data_mc_addr + ring->wptr_offs; in amdgpu_mes_ring_to_queue_props()
|
D | sdma_v5_2.c | 182 ring->wptr_offs, in sdma_v5_2_ring_set_wptr()
|
D | sdma_v6_0.c | 197 ring->wptr_offs, in sdma_v6_0_ring_set_wptr()
|
D | sdma_v5_0.c | 372 ring->wptr_offs, in sdma_v5_0_ring_set_wptr()
|
D | sdma_v4_0.c | 661 ring->wptr_offs, in sdma_v4_0_ring_set_wptr()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | cik.c | 4164 wptr = rdev->wb.wb[ring->wptr_offs/4]; in cik_compute_get_wptr() 4180 rdev->wb.wb[ring->wptr_offs/4] = ring->wptr; in cik_compute_set_wptr() 8413 ring->wptr_offs = CIK_WB_CP1_WPTR_OFFSET; in cik_startup() 8425 ring->wptr_offs = CIK_WB_CP2_WPTR_OFFSET; in cik_startup()
|
D | radeon.h | 822 unsigned wptr_offs; member
|