Searched refs:fence_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_submit.c | 43 u64 fence_ctx; member 51 u64 context = submit->fence_ctx + submit->ring_idx; in virtio_gpu_do_fence_wait() 371 u64 fence_ctx, u32 ring_idx) in virtio_gpu_init_submit() argument 391 out_fence = virtio_gpu_fence_alloc(vgdev, fence_ctx, ring_idx); in virtio_gpu_init_submit() 404 submit->fence_ctx = fence_ctx; in virtio_gpu_init_submit() 478 u64 fence_ctx = vgdev->fence_drv.context; in virtio_gpu_execbuffer_ioctl() local 497 fence_ctx = vfpriv->base_fence_ctx; in virtio_gpu_execbuffer_ioctl() 504 fence_ctx, ring_idx); in virtio_gpu_execbuffer_ioctl()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_trace_lrc.h | 19 #define __dev_name_lrc(lrc) dev_name(gt_to_xe((lrc)->fence_ctx.gt)->drm.dev) 28 __string(name, lrc->fence_ctx.name)
|
| H A D | xe_lrc.c | 81 return gt_to_xe(lrc->fence_ctx.gt); in lrc_to_xe() 1051 xe_hw_fence_ctx_finish(&lrc->fence_ctx); in xe_lrc_finish() 1589 xe_map_write32(lrc_to_xe(lrc), &map, lrc->fence_ctx.next_seqno - 1); in xe_lrc_ctx_init() 1592 xe_map_write32(lrc_to_xe(lrc), &map, lrc->fence_ctx.next_seqno - 1); in xe_lrc_ctx_init() 1656 xe_hw_fence_ctx_init(&lrc->fence_ctx, hwe->gt, in xe_lrc_init() 1871 xe_hw_fence_init(fence, &lrc->fence_ctx, __xe_lrc_seqno_map(lrc)); in xe_lrc_init_seqno_fence()
|
| H A D | xe_exec_queue.c | 1512 q->lrc[i]->fence_ctx.next_seqno - 1) in xe_exec_queue_is_idle() 1520 q->lrc[0]->fence_ctx.next_seqno - 1; in xe_exec_queue_is_idle()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_sched.c | 476 } fence_ctx; member 936 dma_fence_put(queue->fence_ctx.last_fence); in group_free_queue() 1098 lockdep_assert_held(&queue->fence_ctx.lock); in queue_reset_timeout_locked() 1115 lockdep_assert_held(&queue->fence_ctx.lock); in queue_suspend_timeout_locked() 1121 job = list_first_entry_or_null(&queue->fence_ctx.in_flight_jobs, in queue_suspend_timeout_locked() 1154 spin_lock(&queue->fence_ctx.lock); in queue_suspend_timeout() 1156 spin_unlock(&queue->fence_ctx.lock); in queue_suspend_timeout() 1162 spin_lock(&queue->fence_ctx.lock); in queue_resume_timeout() 1172 spin_unlock(&queue->fence_ctx.lock); in queue_resume_timeout() 1545 spin_lock(&queue->fence_ctx.lock); in cs_slot_process_fault_event_locked() [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_queue.c | 273 struct pvr_queue_fence_ctx *fence_ctx) in pvr_queue_fence_init() argument 281 &fence_ctx->lock, fence_ctx->id, in pvr_queue_fence_init() 282 atomic_inc_return(&fence_ctx->seqno)); in pvr_queue_fence_init() 326 pvr_queue_fence_ctx_init(struct pvr_queue_fence_ctx *fence_ctx) in pvr_queue_fence_ctx_init() argument 328 spin_lock_init(&fence_ctx->lock); in pvr_queue_fence_ctx_init() 329 fence_ctx->id = dma_fence_context_alloc(1); in pvr_queue_fence_ctx_init() 330 atomic_set(&fence_ctx->seqno, 0); in pvr_queue_fence_ctx_init()
|