Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c59 void *memptrs, uint64_t memptrs_iova) in msm_ringbuffer_new() argument
94 ring->memptrs = memptrs; in msm_ringbuffer_new()
113 ring->fctx = msm_fence_context_alloc(gpu->dev, &ring->memptrs->fence, name); in msm_ringbuffer_new()
Dmsm_gpu.c368 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
409 uint32_t fence = ring->memptrs->fence; in recover_worker()
416 ring->memptrs->fence = ++fence; in recover_worker()
458 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in fault_worker()
514 uint32_t fence = ring->memptrs->fence; in hangcheck_handler()
653 stats = &ring->memptrs->stats[index]; in retire_submit()
740 msm_update_fence(gpu->rb[i]->fctx, gpu->rb[i]->memptrs->fence); in msm_gpu_retire()
848 void *memptrs; in msm_gpu_init() local
945 memptrs = msm_gem_kernel_new(drm, in msm_gpu_init()
950 if (IS_ERR(memptrs)) { in msm_gpu_init()
[all …]
Dmsm_ringbuffer.h68 struct msm_rbmemptrs *memptrs; member
103 void *memptrs, uint64_t memptrs_iova);
Dmsm_gpu.h325 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c569 ring->memptrs->rptr = 0; in adreno_hw_init()
575 if (fence_before(ring->fctx->last_fence, ring->memptrs->fence)) { in adreno_hw_init()
576 ring->memptrs->fence = ring->fctx->last_fence; in adreno_hw_init()
665 state->ring[i].fence = gpu->rb[i]->memptrs->fence; in adreno_gpu_state_get()
920 ring->memptrs->fence, in adreno_dump_info()
Da2xx_gpu.c486 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a2xx_get_rptr()
487 return ring->memptrs->rptr; in a2xx_get_rptr()
Da3xx_gpu.c492 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a3xx_get_rptr()
493 return ring->memptrs->rptr; in a3xx_get_rptr()
Da4xx_gpu.c626 ring->memptrs->rptr = gpu_read(gpu, REG_A4XX_CP_RB_RPTR); in a4xx_get_rptr()
627 return ring->memptrs->rptr; in a4xx_get_rptr()
Da5xx_gpu.c120 ring->memptrs->fence = submit->seqno; in a5xx_submit_in_rb()
1679 return ring->memptrs->rptr = gpu_read(gpu, REG_A5XX_CP_RB_RPTR); in a5xx_get_rptr()
Da6xx_gpu.c2167 return ring->memptrs->rptr = gpu_read(gpu, REG_A6XX_CP_RB_RPTR); in a6xx_get_rptr()