]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pm: Restore display pm if there is error after display suspend
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 8 Jul 2025 03:54:25 +0000 (03:54 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 8 Jul 2025 20:05:07 +0000 (16:05 -0400)
commit83dcee17855c4e5af037ae3262809036de127903
tree603faf0da5b33b45c90b67d09227d6bbb3a3efac
parent94de1dfd4729c21c156051ffd1ee30cfdab1b58e
drm/xe/pm: Restore display pm if there is error after display suspend

xe_bo_evict_all() is called after xe_display_pm_suspend(). So if there
is error with xe_bo_evict_all(), display pm should be restored.

Fixes: 51462211f4a9 ("drm/xe/pxp: add PXP PM support")
Fixes: cb8f81c17531 ("drm/xe/display: Make display suspend/resume work on discrete")
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://lore.kernel.org/r/20250708035424.3608190-2-shuicheng.lin@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pm.c