Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c231 u64 fence_context = adev->vm_manager.fence_context + ring->idx; in amdgpu_vmid_grab_idle() local
240 array = dma_fence_array_create(i, fences, fence_context, in amdgpu_vmid_grab_idle()
279 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_reserved() local
285 if ((*id)->owner != vm->immediate.fence_context || in amdgpu_vmid_grab_reserved()
289 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_reserved()
306 (*id)->owner != vm->immediate.fence_context) { in amdgpu_vmid_grab_reserved()
358 uint64_t fence_context = adev->fence_context + ring->idx; in amdgpu_vmid_grab_used() local
369 if ((*id)->owner != vm->immediate.fence_context) in amdgpu_vmid_grab_used()
376 ((*id)->last_flush->context != fence_context && in amdgpu_vmid_grab_used()
468 id->owner = vm->immediate.fence_context; in amdgpu_vmid_grab()
Damdgpu_fence.c171 adev->fence_context + ring->idx, seq); in amdgpu_fence_emit()
177 adev->fence_context + ring->idx, seq); in amdgpu_fence_emit()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
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()
Dintel_timeline_types.h22 u64 fence_context; member
Dintel_context_types.h279 u64 fence_context; member
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()
2678 parent->parallel.fence_context = dma_fence_context_alloc(1); in execlists_create_parallel()
Dintel_context.h25 ce__->timeline->fence_context, \
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()
1395 count, tl->fence_context, in live_hwsp_recycle()
/linux-6.12.1/drivers/gpu/drm/virtio/
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.12.1/drivers/gpu/drm/scheduler/
Dsched_fence.c229 &fence->lock, entity->fence_context, seq); in drm_sched_fence_init()
231 &fence->lock, entity->fence_context + 1, seq); in drm_sched_fence_init()
Dsched_entity.c112 entity->fence_context = dma_fence_context_alloc(2); in drm_sched_entity_init()
415 if (fence->context == entity->fence_context || in drm_sched_entity_add_dependency_cb()
416 fence->context == entity->fence_context + 1) { in drm_sched_entity_add_dependency_cb()
/linux-6.12.1/drivers/gpu/drm/i915/gt/selftests/
Dmock_timeline.c14 timeline->fence_context = context; in mock_timeline_init()
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_fence.c18 v3d->queue[queue].fence_context, fence->seqno); in v3d_fence_create()
Dv3d_gem.c252 queue->fence_context = dma_fence_context_alloc(1); in v3d_gem_init()
Dv3d_drv.h57 u64 fence_context; member
/linux-6.12.1/include/drm/
Ddrm_writeback.h67 unsigned int fence_context; member
Dgpu_scheduler.h173 uint64_t fence_context; member
Ddrm_crtc.h1149 unsigned int fence_context; member
/linux-6.12.1/drivers/gpu/drm/
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()
Ddrm_crtc.c193 crtc->fence_context, ++crtc->fence_seqno); in drm_crtc_create_fence()
276 crtc->fence_context = dma_fence_context_alloc(1); in __drm_crtc_init_with_planes()
/linux-6.12.1/drivers/gpu/drm/lima/
Dlima_sched.h49 u64 fence_context; member
Dlima_sched.c98 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
519 pipe->fence_context = dma_fence_context_alloc(1); in lima_sched_pipe_init()
/linux-6.12.1/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.h138 u64 fence_context; member
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_job.c32 u64 fence_context; member
101 js->queue[js_num].fence_context, fence->seqno); in panfrost_fence_create()
870 js->queue[j].fence_context = dma_fence_context_alloc(1); in panfrost_job_init()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_active.c373 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
429 u64 idx = i915_request_timeline(rq)->fence_context; in i915_active_add_request()
878 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()

12