]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Disable unnecessary HPD polling for eDP
authorImre Deak <imre.deak@intel.com>
Wed, 9 Oct 2024 19:43:56 +0000 (22:43 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 11 Oct 2024 11:55:08 +0000 (14:55 +0300)
commita31f62f693c87316eea1711ab586f8f5a7d7a0b3
treea54a966318efd8db222deead329bc07975b40c00
parentfef0bcf72b9506019ecd5440061d7df7f50b02b0
drm/i915/dp: Disable unnecessary HPD polling for eDP

A registered eDP connector is considered to be always connected, so it's
unnecessary to poll it for a connect/disconnect event. Polling it
involves AUX accesses toggling the panel power, which in turn can
generate a spurious short HPD pulse and possibly a new poll cycle via
the short HPD handler runtime resuming the device. Avoid this by
disabling the polling for eDP connectors.

This avoids IGT tests timing out while waiting for the device to runtime
suspend, the timeout caused by the above runtime resume->poll->suspend->
resume cycle keeping the device in the resumed state.

Testcase: igt/kms_pm_rpm/unverisal-planes
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-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c