]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move GGTT lock init to alloc
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:10 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:22:30 +0000 (03:22 -0700)
commitcc9b24c6bb72d8da9309e2535840baa8450d4366
tree08b2c8389f5629c6ef79d2bb8a8bf7077752a996
parent98e78e0c8b1bbb388d5ee702d2eb0013c2f9060a
drm/xe: Move GGTT lock init to alloc

The GGTT lock is needed very early during GT initialization for a VF;
move the GGTT lock initialization to the allocation phase.

v8:
 - Rework function structure (Michal)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-13-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_ggtt.c