In supported devices, HPDs can generate PME and which in turn can invoke runtime resume calls for xe. No need to keep the HPD polling in such PME capable devices.
Bspec: 52979, 52980, 68857, 68867, 68970 Assisted-by: GitHub_Copilot:claude-opus-5 Signed-off-by: Vinod Govindapillai <[email protected]> --- drivers/gpu/drm/i915/display/intel_hotplug.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_hotplug.c b/drivers/gpu/drm/i915/display/intel_hotplug.c index b24c9f360e24..8b7b9f47f049 100644 --- a/drivers/gpu/drm/i915/display/intel_hotplug.c +++ b/drivers/gpu/drm/i915/display/intel_hotplug.c @@ -877,6 +877,11 @@ void intel_hpd_poll_enable(struct intel_display *display) if (!HAS_DISPLAY(display) || !intel_display_device_enabled(display)) return; + if (intel_hpd_can_generate_pme(display)) { + drm_dbg_kms(display->drm, "PME wake capable device, skipping HPD polling.\n"); + return; + } + WRITE_ONCE(display->hotplug.poll_enabled, true); /* -- 2.43.0
