Home
last modified time | relevance | path

Searched refs:fence_context (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ids.c234 u64 fence_context = adev->vm_manager.fence_context + ring->idx; in amdgpu_vmid_grab_idle() local
243 array = dma_fence_array_create(i, fences, fence_context, in amdgpu_vmid_grab_idle()
282 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_reserved() local
288 if ((*id)->owner != vm->immediate.fence_context || in amdgpu_vmid_grab_reserved()
292 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_reserved()
343 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_used() local
354 if ((*id)->owner != vm->immediate.fence_context) in amdgpu_vmid_grab_used()
361 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_used()
453 id->owner = vm->immediate.fence_context; in amdgpu_vmid_grab()
A Damdgpu_fdinfo.c92 seq_printf(m, "drm-client-id:\t%Lu\n", vm->immediate.fence_context); in amdgpu_show_fdinfo()
A Damdgpu_fence.c174 adev->fence_context + ring->idx, seq); in amdgpu_fence_emit()
181 adev->fence_context + ring->idx, seq); in amdgpu_fence_emit()
/linux-6.3-rc2/drivers/gpu/drm/scheduler/
A Dsched_fence.c173 &fence->lock, entity->fence_context, seq); in drm_sched_fence_init()
175 &fence->lock, entity->fence_context + 1, seq); in drm_sched_fence_init()
A Dsched_entity.c90 entity->fence_context = dma_fence_context_alloc(2); in drm_sched_entity_init()
354 if (fence->context == entity->fence_context || in drm_sched_entity_add_dependency_cb()
355 fence->context == entity->fence_context + 1) { in drm_sched_entity_add_dependency_cb()
/linux-6.3-rc2/drivers/gpu/drm/virtio/
A Dvirtgpu_fence.c78 uint64_t fence_context = base_fence_ctx + ring_idx; in virtio_gpu_fence_alloc() local
96 fence_context, 0); in virtio_gpu_fence_alloc()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_timeline.c101 timeline->fence_context = dma_fence_context_alloc(1); in intel_timeline_init()
212 tl->fence_context, tl->hwsp_offset); in intel_timeline_pin()
429 tl->fence_context); in intel_gt_show_timelines()
452 drm_printf(m, "Timeline %llx: { ", tl->fence_context); in intel_gt_show_timelines()
A Dintel_timeline_types.h22 u64 fence_context; member
A Dintel_context_types.h271 u64 fence_context; member
A Dintel_context.h24 ce__->timeline->fence_context, \
A Dintel_execlists_submission.c816 ce->timeline->fence_context, in assert_pending_valid()
825 ccid, ce->timeline->fence_context, in assert_pending_valid()
844 ce->timeline->fence_context, in assert_pending_valid()
859 ce->timeline->fence_context, in assert_pending_valid()
875 ce->timeline->fence_context, in assert_pending_valid()
884 ce->timeline->fence_context, in assert_pending_valid()
893 ce->timeline->fence_context, in assert_pending_valid()
2669 parent->parallel.fence_context = dma_fence_context_alloc(1); in execlists_create_parallel()
A Dselftest_timeline.c586 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_engine()
658 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_alternate()
1387 count, tl->fence_context, in live_hwsp_recycle()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/selftests/
A Dmock_timeline.c14 timeline->fence_context = context; in mock_timeline_init()
/linux-6.3-rc2/drivers/gpu/drm/v3d/
A Dv3d_fence.c18 v3d->queue[queue].fence_context, fence->seqno); in v3d_fence_create()
A Dv3d_drv.h27 u64 fence_context; member
/linux-6.3-rc2/include/drm/
A Ddrm_writeback.h67 unsigned int fence_context; member
A Dgpu_scheduler.h163 uint64_t fence_context; member
A Ddrm_crtc.h1154 unsigned int fence_context; member
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_writeback.c266 wb_connector->fence_context = dma_fence_context_alloc(1); in drm_writeback_connector_init_with_encoder()
463 &wb_connector->fence_lock, wb_connector->fence_context, in drm_writeback_get_out_fence()
A Ddrm_crtc.c205 crtc->fence_context, ++crtc->fence_seqno); in drm_crtc_create_fence()
289 crtc->fence_context = dma_fence_context_alloc(1); in __drm_crtc_init_with_planes()
/linux-6.3-rc2/drivers/gpu/drm/lima/
A Dlima_sched.h49 u64 fence_context; member
A Dlima_sched.c97 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
486 pipe->fence_context = dma_fence_context_alloc(1); in lima_sched_pipe_init()
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_gpu.h129 u64 fence_context; member
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_job.c32 u64 fence_context; member
101 js->queue[js_num].fence_context, fence->seqno); in panfrost_fence_create()
815 js->queue[j].fence_context = dma_fence_context_alloc(1); in panfrost_job_init()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_active.c374 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
440 active = active_instance(ref, i915_request_timeline(rq)->fence_context); in i915_active_add_request()
877 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()

Completed in 52 milliseconds

12