Searched refs:last_fence (Results 1 – 16 of 16) sorted by relevance
/linux/drivers/gpu/drm/msm/ |
H A D | msm_fence.c | 64 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 D | msm_fence.h | 34 uint32_t last_fence; member
|
H A D | msm_gpu.h | 325 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active() 517 uint32_t last_fence; member
|
H A D | msm_gpu.c | 524 } 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 D | msm_drv.c | 734 if (fence_after(fence_id, queue->last_fence)) { in wait_fence() 736 fence_id, queue->last_fence); in wait_fence()
|
H A D | msm_gem_submit.c | 894 queue->last_fence = submit->fence_id; in msm_ioctl_gem_submit()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_exec_queue.c | 875 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 D | xe_exec_queue_types.h | 74 struct dma_fence *last_fence; member
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.h | 78 u16 last_fence; /* last fence used to send request */ member
|
H A D | intel_guc_ct.c | 427 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 D | adreno_gpu.c | 592 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 D | a5xx_gpu.c | 1246 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a5xx_fault_detect_irq()
|
H A D | a6xx_gpu.c | 1500 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a6xx_fault_detect_irq()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.h | 186 u16 last_fence; member
|
H A D | i915_gpu_error.c | 702 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 D | panthor_sched.c | 469 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()
|