Skip to content
Commit c2e95662 authored by Thomas Hellström's avatar Thomas Hellström Committed by Greg Kroah-Hartman
Browse files

drm/xe: Split lrc seqno fence creation up



[ Upstream commit e183910a ]

Since sometimes a lock is required to initialize a seqno fence,
and it might be desirable not to hold that lock while performing
memory allocations, split the lrc seqno fence creation up into an
allocation phase and an initialization phase.

Since lrc seqno fences under the hood are hw_fences, do the same
for these and remove the xe_hw_fence_create() function since it
is not used anymore.

Signed-off-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527135912.152156-3-thomas.hellstrom@linux.intel.com


Stable-dep-of: 9e7f3056 ("drm/xe: Free job before xe_exec_queue_put")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 317459a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment