]> www.infradead.org Git - linux.git/commitdiff
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)
committerImre Deak <imre.deak@intel.com>
Fri, 11 Oct 2024 14:01:19 +0000 (17:01 +0300)
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
drivers/gpu/drm/xe/display/xe_display.c

index 9ef75a20c3c08f8894c6dddc1e6c0204d369969a..5c6b74c36b608c1a44cd2dd47d81f20362eaca8a 100644 (file)
@@ -479,6 +479,7 @@ void xe_display_pm_runtime_resume(struct xe_device *xe)
                return;
        }
 
+       intel_hpd_init(xe);
        intel_hpd_poll_disable(xe);
 }