mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-19 23:43:39 -04:00
drm/xe: Don't treat SR-IOV platforms as reclaim unsafe
Since commita4d1c5d0b9("drm/xe/pf: Move VFs reprovisioning to worker") and commit78d5d1e20d("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
This commit is contained in:
@@ -91,7 +91,7 @@ static struct lockdep_map xe_pm_runtime_nod3cold_map = {
|
||||
*/
|
||||
bool xe_rpm_reclaim_safe(const struct xe_device *xe)
|
||||
{
|
||||
return !xe->d3cold.capable && !xe->info.has_sriov;
|
||||
return !xe->d3cold.capable;
|
||||
}
|
||||
|
||||
static void xe_rpm_lockmap_acquire(const struct xe_device *xe)
|
||||
|
||||
Reference in New Issue
Block a user