drm/xe: Don't treat SR-IOV platforms as reclaim unsafe
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 5 Feb 2025 12:01:50 +0000 (13:01 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 6 Feb 2025 20:14:56 +0000 (21:14 +0100)
commit01aebfaeff324d21f559a696016e13640f59b297
treed8c3845bbb1f24c42e7a4cd59708ec88cefae2f5
parent8a734b9359cfa1bdb805f5ca23e20bd99dd18a0a
drm/xe: Don't treat SR-IOV platforms as reclaim unsafe

Since commit a4d1c5d0b99b ("drm/xe/pf: Move VFs reprovisioning
to worker") and commit 78d5d1e20d1d ("drm/xe/relay: Don't use
GFP_KERNEL for new transactions") we should have no more lockdep
dependencies on the reclaim path when running in the SRIOV mode
so we believe that we can now mark SRIOV driver as reclaim safe.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Tested-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Reviewed-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250205120150.896-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_pm.c