drm/xe/display: Add missing HPD interrupt enabling during non-d3cold RPM resume
authorImre Deak <imre.deak@intel.com>
Wed, 9 Oct 2024 19:43:58 +0000 (22:43 +0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 29 Oct 2024 14:12:56 +0000 (07:12 -0700)
Atm the display HPD interrupts that got disabled during runtime
suspend, are re-enabled only if d3cold is enabled. Fix things by
also re-enabling the interrupts if d3cold is disabled.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009194358.1321200-5-imre.deak@intel.com
(cherry picked from commit bbc4a30de095f0349d3c278500345a1b620d495e)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/display/xe_display.c

index fa44fe8..c6e0c8d 100644 (file)
@@ -437,6 +437,7 @@ void xe_display_pm_runtime_resume(struct xe_device *xe)
                return;
        }
 
+       intel_hpd_init(xe);
        intel_hpd_poll_disable(xe);
 }