Do not start HPD polling for devices capable of PME wakeup.
Assisted-by: GitHub_Copilot:claude-opus-5
Signed-off-by: Vinod Govindapillai <[email protected]>
---
drivers/gpu/drm/i915/display/intel_display_driver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c
b/drivers/gpu/drm/i915/display/intel_display_driver.c
index ba494827c9cb..b29209f06e92 100644
--- a/drivers/gpu/drm/i915/display/intel_display_driver.c
+++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
@@ -932,7 +932,8 @@ void intel_display_driver_pm_runtime_suspend_late(struct
intel_display *display,
intel_opregion_notify_adapter(display, PCI_D1);
}
- if (!display->platform.valleyview && !display->platform.cherryview)
+ if (!display->platform.valleyview && !display->platform.cherryview &&
+ !pme_capable)
intel_hpd_poll_enable(display);
}
--
2.43.0