Home
last modified time | relevance | path

Searched refs:memptrs (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c57 void *memptrs, uint64_t memptrs_iova) in msm_ringbuffer_new() argument
92 ring->memptrs = memptrs; in msm_ringbuffer_new()
111 ring->fctx = msm_fence_context_alloc(gpu->dev, &ring->memptrs->fence, name); in msm_ringbuffer_new()
Dmsm_gpu.c369 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
410 uint32_t fence = ring->memptrs->fence; in recover_worker()
417 ring->memptrs->fence = ++fence; in recover_worker()
459 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in fault_worker()
500 uint32_t fence = ring->memptrs->fence; in hangcheck_handler()
636 stats = &ring->memptrs->stats[index]; in retire_submit()
723 msm_update_fence(gpu->rb[i]->fctx, gpu->rb[i]->memptrs->fence); in msm_gpu_retire()
834 void *memptrs; in msm_gpu_init() local
925 memptrs = msm_gem_kernel_new(drm, in msm_gpu_init()
930 if (IS_ERR(memptrs)) { in msm_gpu_init()
[all …]
Dmsm_ringbuffer.h63 struct msm_rbmemptrs *memptrs; member
75 void *memptrs, uint64_t memptrs_iova);
Dmsm_gpu.h305 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active()
/Linux-v6.1/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c518 ring->memptrs->rptr = 0; in adreno_hw_init()
524 if (fence_before(ring->fctx->last_fence, ring->memptrs->fence)) { in adreno_hw_init()
525 ring->memptrs->fence = ring->fctx->last_fence; in adreno_hw_init()
614 state->ring[i].fence = gpu->rb[i]->memptrs->fence; in adreno_gpu_state_get()
871 ring->memptrs->fence, in adreno_dump_info()
Da2xx_gpu.c467 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a2xx_get_rptr()
468 return ring->memptrs->rptr; in a2xx_get_rptr()
Da3xx_gpu.c482 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a3xx_get_rptr()
483 return ring->memptrs->rptr; in a3xx_get_rptr()
Da4xx_gpu.c617 ring->memptrs->rptr = gpu_read(gpu, REG_A4XX_CP_RB_RPTR); in a4xx_get_rptr()
618 return ring->memptrs->rptr; in a4xx_get_rptr()
Da5xx_preempt.c66 empty = (get_wptr(ring) == ring->memptrs->rptr); in get_next_ring()
Da5xx_gpu.c120 ring->memptrs->fence = submit->seqno; in a5xx_submit_in_rb()
1684 return ring->memptrs->rptr = gpu_read(gpu, REG_A5XX_CP_RB_RPTR); in a5xx_get_rptr()
Da6xx_gpu.c1851 return ring->memptrs->rptr = gpu_read(gpu, REG_A6XX_CP_RB_RPTR); in a6xx_get_rptr()