Home
last modified time | relevance | path

Searched refs:last_fence (Results 1 – 10 of 10) 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()
200 fctx->context, ++fctx->last_fence); in msm_fence_init()
H A Dmsm_fence.h33 uint32_t last_fence; member
H A Dmsm_gpu.h316 if (fence_after(ring->fctx->last_fence, ring->memptrs->fence)) in msm_gpu_active()
541 uint32_t last_fence; member
/linux/drivers/gpu/drm/xe/
H A Dxe_exec_queue.c1661 if (q->last_fence) { in xe_exec_queue_last_fence_put_unlocked()
1662 dma_fence_put(q->last_fence); in xe_exec_queue_last_fence_put_unlocked()
1663 q->last_fence = NULL; in xe_exec_queue_last_fence_put_unlocked()
1683 if (q->last_fence && in xe_exec_queue_last_fence_get()
1684 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get()
1687 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get()
1710 if (q->last_fence && in xe_exec_queue_last_fence_get_for_resume()
1711 test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &q->last_fence->flags)) in xe_exec_queue_last_fence_get_for_resume()
1714 fence = q->last_fence ? q->last_fence : dma_fence_get_stub(); in xe_exec_queue_last_fence_get_for_resume()
1735 q->last_fence = dma_fence_get(fence); in xe_exec_queue_last_fence_set()
[all …]
H A Dxe_oa.c195 static void free_oa_config_bo(struct xe_oa_config_bo *oa_bo, struct dma_fence *last_fence) in free_oa_config_bo() argument
198 xe_bb_free(oa_bo->bb, last_fence); in free_oa_config_bo()
710 free_oa_config_bo(oa_bo, stream->last_fence); in xe_oa_free_configs()
711 dma_fence_put(stream->last_fence); in xe_oa_free_configs()
948 dma_fence_put(stream->last_fence); in xe_oa_update_last_fence()
949 stream->last_fence = dma_fence_get(fence); in xe_oa_update_last_fence()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_userq_fence.c120 dma_fence_put(userq->last_fence); in amdgpu_userq_fence_driver_free()
121 userq->last_fence = NULL; in amdgpu_userq_fence_driver_free()
431 struct dma_fence *f = userq->last_fence; in amdgpu_userq_fence_driver_force_completion()
532 dma_fence_put(queue->last_fence); in amdgpu_userq_signal_ioctl()
533 queue->last_fence = dma_fence_get(fence); in amdgpu_userq_signal_ioctl()
H A Damdgpu_userq.h71 struct dma_fence *last_fence; member
H A Damdgpu_userq.c203 WRITE_ONCE(queue->hang_detect_fence, queue->last_fence); in amdgpu_userq_start_hang_detect_work()
436 struct dma_fence *f = queue->last_fence; in amdgpu_userq_wait_for_last_fence()
1303 struct dma_fence *f = queue->last_fence; in amdgpu_userq_wait_for_signal()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c467 struct dma_fence *last_fence; member
936 dma_fence_put(queue->fence_ctx.last_fence); in group_free_queue()
3313 job->done_fence = dma_fence_get(queue->fence_ctx.last_fence); in queue_run_job()
3384 dma_fence_put(queue->fence_ctx.last_fence); in queue_run_job()
3385 queue->fence_ctx.last_fence = dma_fence_get(job->done_fence); in queue_run_job()
/linux/drivers/gpu/drm/msm/adreno/
H A Da8xx_gpu.c1151 ring ? ring->id : -1, ring ? ring->fctx->last_fence : 0, in a8xx_fault_detect_irq()