Home
last modified time | relevance | path

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

/linux-6.1.9/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.c371 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
412 uint32_t fence = ring->memptrs->fence; in recover_worker()
419 ring->memptrs->fence = ++fence; in recover_worker()
461 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in fault_worker()
502 uint32_t fence = ring->memptrs->fence; in hangcheck_handler()
638 stats = &ring->memptrs->stats[index]; in retire_submit()
725 msm_update_fence(gpu->rb[i]->fctx, gpu->rb[i]->memptrs->fence); in msm_gpu_retire()
836 void *memptrs; in msm_gpu_init() local
927 memptrs = msm_gem_kernel_new(drm, in msm_gpu_init()
932 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-6.1.9/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c522 ring->memptrs->rptr = 0; in adreno_hw_init()
528 if (fence_before(ring->fctx->last_fence, ring->memptrs->fence)) { in adreno_hw_init()
529 ring->memptrs->fence = ring->fctx->last_fence; in adreno_hw_init()
618 state->ring[i].fence = gpu->rb[i]->memptrs->fence; in adreno_gpu_state_get()
875 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.c1858 return ring->memptrs->rptr = gpu_read(gpu, REG_A6XX_CP_RB_RPTR); in a6xx_get_rptr()