Skip to content

Commit 01aebfa

Browse files
committed
drm/xe: Don't treat SR-IOV platforms as reclaim unsafe
Since commit a4d1c5d ("drm/xe/pf: Move VFs reprovisioning to worker") and commit 78d5d1e ("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 <[email protected]> Cc: Thomas Hellström <[email protected]> Cc: Jonathan Cavitt <[email protected]> Cc: Matthew Brost <[email protected]> Tested-by: Marcin Bernatowicz <[email protected]> Reviewed-by: Marcin Bernatowicz <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8a734b9 commit 01aebfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static struct lockdep_map xe_pm_runtime_nod3cold_map = {
9191
*/
9292
bool xe_rpm_reclaim_safe(const struct xe_device *xe)
9393
{
94-
return !xe->d3cold.capable && !xe->info.has_sriov;
94+
return !xe->d3cold.capable;
9595
}
9696

9797
static void xe_rpm_lockmap_acquire(const struct xe_device *xe)

0 commit comments

Comments
 (0)