[SRU][O][PATCH v2 4/4] drm/xe: Fix missing conversion to xe_display_pm_runtime_resume
Thibault Ferrante
thibault.ferrante at canonical.com
Fri Mar 14 14:44:42 UTC 2025
From: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
BugLink: https://bugs.launchpad.net/bugs/2102378
This error path was missed when converting away from
xe_display_pm_resume with second argument.
Fixes: 66a0f6b9f5fc ("drm/xe/display: handle HPD polling in display runtime suspend/resume")
Cc: Arun R Murthy <arun.r.murthy at intel.com>
Cc: Vinod Govindapillai <vinod.govindapillai at intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240905150052.174895-2-maarten.lankhorst@linux.intel.com
(cherry picked from commit 474f64cb988a410db8a0b779d6afdaa2a7fc5759)
Signed-off-by: Thibault Ferrante <thibault.ferrante at canonical.com>
---
drivers/gpu/drm/xe/xe_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index 358805f10388..e581e588c3d5 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -412,7 +412,7 @@ int xe_pm_runtime_suspend(struct xe_device *xe)
xe_display_pm_suspend_late(xe);
out:
if (err)
- xe_display_pm_resume(xe, true);
+ xe_display_pm_runtime_resume(xe);
xe_rpm_lockmap_release(xe);
xe_pm_write_callback_task(xe, NULL);
return err;
--
2.45.2
More information about the kernel-team
mailing list