| /linux-6.15/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() 200 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 | 322 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active() 514 uint32_t last_fence; member
|
| H A D | msm_gpu.c | 533 } else if (fence_before(fence, ring->fctx->last_fence) && in hangcheck_handler() 543 gpu->name, ring->fctx->last_fence); in hangcheck_handler() 549 if (fence_after(ring->fctx->last_fence, ring->hangcheck_fence)) in hangcheck_handler()
|
| H A D | msm_drv.c | 735 if (fence_after(fence_id, queue->last_fence)) { in wait_fence() 737 fence_id, queue->last_fence); in wait_fence()
|
| H A D | msm_gem_submit.c | 883 queue->last_fence = submit->fence_id; in msm_ioctl_gem_submit()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_exec_queue.c | 947 if (q->last_fence) { in xe_exec_queue_last_fence_put_unlocked() 948 dma_fence_put(q->last_fence); in xe_exec_queue_last_fence_put_unlocked() 949 q->last_fence = NULL; in xe_exec_queue_last_fence_put_unlocked() 969 if (q->last_fence && in xe_exec_queue_last_fence_get() 970 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get() 973 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get() 996 if (q->last_fence && in xe_exec_queue_last_fence_get_for_resume() 997 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get_for_resume() 1000 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get_for_resume() 1020 q->last_fence = dma_fence_get(fence); in xe_exec_queue_last_fence_set()
|
| H A D | xe_exec_queue_types.h | 76 struct dma_fence *last_fence; member
|
| H A D | xe_oa_types.h | 246 struct dma_fence *last_fence; member
|
| H A D | xe_oa.c | 188 static void free_oa_config_bo(struct xe_oa_config_bo *oa_bo, struct dma_fence *last_fence) in free_oa_config_bo() argument 191 xe_bb_free(oa_bo->bb, last_fence); in free_oa_config_bo() 704 free_oa_config_bo(oa_bo, stream->last_fence); in xe_oa_free_configs() 705 dma_fence_put(stream->last_fence); in xe_oa_free_configs() 938 dma_fence_put(stream->last_fence); in xe_oa_update_last_fence() 939 stream->last_fence = dma_fence_get(fence); in xe_oa_update_last_fence()
|
| /linux-6.15/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-6.15/drivers/gpu/drm/msm/adreno/ |
| H A D | adreno_gpu.c | 607 if (fence_before(ring->fctx->last_fence, ring->memptrs->fence)) { in adreno_hw_init() 608 ring->memptrs->fence = ring->fctx->last_fence; in adreno_hw_init() 699 state->ring[i].seqno = gpu->rb[i]->fctx->last_fence; in adreno_gpu_state_get() 962 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 | 1699 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a6xx_fault_detect_irq()
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_gpu_error.h | 184 u16 last_fence; member
|
| H A D | i915_gpu_error.c | 697 err_printf(m, "GuC CTB fence: %d\n", error_uc->guc.last_fence); in err_print_uc() 1761 error_uc->guc.last_fence = uc->guc.ct.requests.last_fence; in gt_record_uc()
|
| /linux-6.15/drivers/gpu/drm/panthor/ |
| H A D | panthor_sched.c | 468 struct dma_fence *last_fence; member 902 dma_fence_put(queue->fence_ctx.last_fence); in group_free_queue() 3130 job->done_fence = dma_fence_get(queue->fence_ctx.last_fence); in queue_run_job() 3199 dma_fence_put(queue->fence_ctx.last_fence); in queue_run_job() 3200 queue->fence_ctx.last_fence = dma_fence_get(job->done_fence); in queue_run_job()
|