Home
last modified time | relevance | path

Searched refs:last_fence (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/msm/
H A Dmsm_fence.c64 fctx->last_fence = 0xffffff00; in msm_fence_context_alloc()
65 fctx->completed_fence = fctx->last_fence; in msm_fence_context_alloc()
66 *fctx->fenceptr = fctx->last_fence; in msm_fence_context_alloc()
201 fctx->context, ++fctx->last_fence); in msm_fence_init()
H A Dmsm_fence.h34 uint32_t last_fence; member
H A Dmsm_gpu.h325 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active()
517 uint32_t last_fence; member
H A Dmsm_gpu.c524 } else if (fence_before(fence, ring->fctx->last_fence) && in hangcheck_handler()
534 gpu->name, ring->fctx->last_fence); in hangcheck_handler()
540 if (fence_after(ring->fctx->last_fence, ring->hangcheck_fence)) in hangcheck_handler()
H A Dmsm_drv.c734 if (fence_after(fence_id, queue->last_fence)) { in wait_fence()
736 fence_id, queue->last_fence); in wait_fence()
H A Dmsm_gem_submit.c894 queue->last_fence = submit->fence_id; in msm_ioctl_gem_submit()
/linux/drivers/gpu/drm/xe/
H A Dxe_exec_queue.c875 if (q->last_fence) { in xe_exec_queue_last_fence_put_unlocked()
876 dma_fence_put(q->last_fence); in xe_exec_queue_last_fence_put_unlocked()
877 q->last_fence = NULL; in xe_exec_queue_last_fence_put_unlocked()
897 if (q->last_fence && in xe_exec_queue_last_fence_get()
898 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get()
901 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get()
924 if (q->last_fence && in xe_exec_queue_last_fence_get_for_resume()
925 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get_for_resume()
928 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get_for_resume()
948 q->last_fence = dma_fence_get(fence); in xe_exec_queue_last_fence_set()
H A Dxe_exec_queue_types.h74 struct dma_fence *last_fence; member
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.h78 u16 last_fence; /* last fence used to send request */ member
H A Dintel_guc_ct.c427 return ++ct->requests.last_fence; in ct_get_next_fence()
1090 len, hxg[0], fence, ct->requests.last_fence); in ct_handle_response()
/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.c592 if (fence_before(ring->fctx->last_fence, ring->memptrs->fence)) { in adreno_hw_init()
593 ring->memptrs->fence = ring->fctx->last_fence; in adreno_hw_init()
684 state->ring[i].seqno = gpu->rb[i]->fctx->last_fence; in adreno_gpu_state_get()
937 ring->fctx->last_fence); in adreno_dump_info()
H A Da5xx_gpu.c1246 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a5xx_fault_detect_irq()
H A Da6xx_gpu.c1500 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a6xx_fault_detect_irq()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.h186 u16 last_fence; member
H A Di915_gpu_error.c702 err_printf(m, "GuC CTB fence: %d\n", error_uc->guc.last_fence); in err_print_uc()
1759 error_uc->guc.last_fence = uc->guc.ct.requests.last_fence; in gt_record_uc()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c469 struct dma_fence *last_fence; member
844 dma_fence_put(queue->fence_ctx.last_fence); in group_free_queue()
2897 job->done_fence = dma_fence_get(queue->fence_ctx.last_fence); in queue_run_job()
2960 dma_fence_put(queue->fence_ctx.last_fence); in queue_run_job()
2961 queue->fence_ctx.last_fence = dma_fence_get(job->done_fence); in queue_run_job()