]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Detect changes in common link parameters
authorImre Deak <imre.deak@intel.com>
Fri, 22 May 2026 16:05:14 +0000 (19:05 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 25 May 2026 12:07:50 +0000 (15:07 +0300)
commitc0c49dead61f03b04563fe0fad916ce4bf4bb933
tree30d93852dc2f471f0b94cc3fdc1799032eb90ce1
parentcc18eac531a656f9104f78a0d9358bb099080831
drm/i915/dp: Detect changes in common link parameters

Detect DPRX capability changes without a long HPD or RX_CAP_CHANGED
signal and queue a corresponding link params reset.

Besides detecting the above unexpected capability changes, this also
avoids races between queuing and handling a deferred link params reset.

v2: (Ville)
- Query/set intel_dp::reset_link_params instead of using helpers for
  these.
- Assert matching types for old/new common rate elements as well.
- Add TODO: for adding a struct tracking both rates and number of rates.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260522160514.2628249-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c