[PATCH 1/4] drm/xe: Fix missing conversion to xe_display_pm_runtime_resume

Lucas De Marchi lucas.demarchi at intel.com
Thu Sep 5 16:36:53 UTC 2024


On Thu, Sep 05, 2024 at 05:00:49PM GMT, Maarten Lankhorst wrote:
>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>

Lucas De Marchi

>---
> 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 e518557e0eec6..9b1204db12c3d 100644
>--- a/drivers/gpu/drm/xe/xe_pm.c
>+++ b/drivers/gpu/drm/xe/xe_pm.c
>@@ -416,7 +416,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 Intel-xe mailing list