Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/
H A 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()
H A 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()
848 void *memptrs; in msm_gpu_init() local
944 memptrs = msm_gem_kernel_new(drm, in msm_gpu_init()
949 if (IS_ERR(memptrs)) { in msm_gpu_init()
950 ret = PTR_ERR(memptrs); in msm_gpu_init()
[all …]
H A Dmsm_ringbuffer.h68 struct msm_rbmemptrs *memptrs; member
103 void *memptrs, uint64_t memptrs_iova);
H A Dmsm_gpu.h325 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active()
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A 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()
H A 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()
H A 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()
H A 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()
H A Da5xx_preempt.c70 empty = ring->memptrs->fence == a5xx_gpu->last_seqno[i]; in get_next_ring()
H A Da5xx_gpu.c123 ring->memptrs->fence = submit->seqno; in a5xx_submit_in_rb()
1687 return ring->memptrs->rptr = gpu_read(gpu, REG_A5XX_CP_RB_RPTR); in a5xx_get_rptr()
H A Da6xx_gpu.c2167 return ring->memptrs->rptr = gpu_read(gpu, REG_A6XX_CP_RB_RPTR); in a6xx_get_rptr()