Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c230 u64 fence_context = adev->vm_manager.fence_context + ring->idx; in amdgpu_vmid_grab_idle() local
239 array = dma_fence_array_create(i, fences, fence_context, in amdgpu_vmid_grab_idle()
278 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_reserved() local
289 if ((*id)->owner != vm->immediate.fence_context || in amdgpu_vmid_grab_reserved()
292 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_reserved()
348 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_used() local
360 if ((*id)->owner != vm->immediate.fence_context) in amdgpu_vmid_grab_used()
367 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_used()
454 id->owner = vm->immediate.fence_context; in amdgpu_vmid_grab()
Damdgpu_vm.h331 u64 fence_context; member
Damdgpu_fence.c154 adev->fence_context + ring->idx, in amdgpu_fence_emit()
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
Dsched_fence.c171 &fence->lock, entity->fence_context, seq); in drm_sched_fence_create()
173 &fence->lock, entity->fence_context + 1, seq); in drm_sched_fence_create()
Dsched_entity.c80 entity->fence_context = dma_fence_context_alloc(2); in drm_sched_entity_init()
372 if (fence->context == entity->fence_context || in drm_sched_entity_add_dependency_cb()
373 fence->context == entity->fence_context + 1) { in drm_sched_entity_add_dependency_cb()
Dsched_main.c181 if (fence->context == entity->fence_context) in drm_sched_dependency_optimized()
349 entity->fence_context) { in drm_sched_increase_karma()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_timeline.c264 timeline->fence_context = dma_fence_context_alloc(1); in intel_timeline_init()
351 tl->fence_context, tl->hwsp_offset); in intel_timeline_pin()
459 GT_TRACE(tl->gt, "timeline:%llx wrapped\n", tl->fence_context); in __intel_timeline_get_seqno()
506 tl->fence_context, in __intel_timeline_get_seqno()
526 tl->fence_context, tl->hwsp_offset); in __intel_timeline_get_seqno()
Dintel_timeline_types.h24 u64 fence_context; member
Dintel_context.h24 ce__->timeline->fence_context, \
Dselftest_timeline.c566 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_engine()
638 n, tl->fence_context, tl->hwsp_offset, *tl->hwsp_seqno); in live_hwsp_alternate()
972 count, tl->fence_context, in live_hwsp_recycle()
Dintel_lrc.c1617 ce->timeline->fence_context, in assert_pending_valid()
1626 ccid, ce->timeline->fence_context, in assert_pending_valid()
1640 ce->timeline->fence_context, in assert_pending_valid()
1657 ce->timeline->fence_context, in assert_pending_valid()
1666 ce->timeline->fence_context, in assert_pending_valid()
1675 ce->timeline->fence_context, in assert_pending_valid()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/selftests/
Dmock_timeline.c14 timeline->fence_context = context; in mock_timeline_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
Dv3d_fence.c18 v3d->queue[queue].fence_context, fence->seqno); in v3d_fence_create()
Dv3d_drv.h36 u64 fence_context; member
/kernel/linux/linux-5.10/include/drm/
Ddrm_writeback.h65 unsigned int fence_context; member
Dgpu_scheduler.h95 uint64_t fence_context; member
Ddrm_crtc.h1146 unsigned int fence_context; member
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_writeback.c214 wb_connector->fence_context = dma_fence_context_alloc(1); in drm_writeback_connector_init()
413 &wb_connector->fence_lock, wb_connector->fence_context, in drm_writeback_get_out_fence()
Ddrm_crtc.c202 crtc->fence_context, ++crtc->fence_seqno); in drm_crtc_create_fence()
299 crtc->fence_context = dma_fence_context_alloc(1); in drm_crtc_init_with_planes()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_sched.h52 u64 fence_context; member
Dlima_sched.c96 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
501 pipe->fence_context = dma_fence_context_alloc(1); in lima_sched_pipe_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_job.c39 u64 fence_context; member
107 js->queue[js_num].fence_context, fence->seqno); in panfrost_fence_create()
622 js->queue[j].fence_context = dma_fence_context_alloc(1); in panfrost_job_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_active.h174 i915_request_timeline(rq)->fence_context, in i915_active_add_request()
Di915_active.c384 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
909 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.h124 u64 fence_context; member

12