Home
last modified time | relevance | path

Searched refs:fence_ctx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c477 } fence_ctx; member
936 dma_fence_put(queue->fence_ctx.last_fence); in group_free_queue()
1099 lockdep_assert_held(&queue->fence_ctx.lock); in queue_reset_timeout_locked()
1116 lockdep_assert_held(&queue->fence_ctx.lock); in queue_suspend_timeout_locked()
1122 job = list_first_entry_or_null(&queue->fence_ctx.in_flight_jobs, in queue_suspend_timeout_locked()
1155 guard(spinlock_irqsave)(&queue->fence_ctx.lock); in queue_suspend_timeout()
1162 guard(spinlock_irqsave)(&queue->fence_ctx.lock); in queue_resume_timeout()
1543 guard(spinlock_irqsave)(&queue->fence_ctx.lock); in cs_slot_process_fault_event_locked()
1544 list_for_each_entry(job, &queue->fence_ctx.in_flight_jobs, node) { in cs_slot_process_fault_event_locked()
2186 scoped_guard(spinlock_irqsave, &queue->fence_ctx.lock) { in group_term_post_processing()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_queue.c299 struct pvr_queue_fence_ctx *fence_ctx) in pvr_queue_fence_init() argument
307 &fence_ctx->lock, fence_ctx->id, in pvr_queue_fence_init()
308 atomic_inc_return(&fence_ctx->seqno)); in pvr_queue_fence_init()
352 pvr_queue_fence_ctx_init(struct pvr_queue_fence_ctx *fence_ctx) in pvr_queue_fence_ctx_init() argument
354 spin_lock_init(&fence_ctx->lock); in pvr_queue_fence_ctx_init()
355 fence_ctx->id = dma_fence_context_alloc(1); in pvr_queue_fence_ctx_init()
356 atomic_set(&fence_ctx->seqno, 0); in pvr_queue_fence_ctx_init()