summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2024-10-09 22:43:58 +0300
committerImre Deak <imre.deak@intel.com>2024-10-11 17:01:19 +0300
commitbbc4a30de095f0349d3c278500345a1b620d495e (patch)
tree2695452b9099b19901accad7c2b21cd6c3e3b179
parenta4de6beb83fc5adee788518350247c629568901e (diff)
drm/xe/display: Add missing HPD interrupt enabling during non-d3cold RPM resume
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
-rw-r--r--drivers/gpu/drm/xe/display/xe_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 9ef75a20c3c0..5c6b74c36b60 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -479,6 +479,7 @@ void xe_display_pm_runtime_resume(struct xe_device *xe)
return;
}
+ intel_hpd_init(xe);
intel_hpd_poll_disable(xe);
}