]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/selftests: Fix build after dma-fence locking rework
authorMatthew Brost <matthew.brost@intel.com>
Mon, 23 Feb 2026 17:25:53 +0000 (09:25 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 24 Feb 2026 17:34:48 +0000 (09:34 -0800)
commit571cc8356cbf01252d2bbf4101da99380129a727
tree9387d37e2f36d234979e3290d2238360c077c148
parent196b2b95fec447c2c4460f753b277d840633fbef
drm/i915/selftests: Fix build after dma-fence locking rework

The i915_active selftest no longer builds after the dma-fence locking
rework because it directly accessed the fence’s spinlock. The helper
dma_fence_spinlock() must now be used to obtain the spinlock. Update the
selftest to use dma_fence_spinlock() accordingly.

Fixes: 1f32f310a13c ("dma-buf: inline spinlock for fence protection v5")
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patch.msgid.link/20260223172553.1663749-1-matthew.brost@intel.com
drivers/gpu/drm/i915/selftests/i915_active.c