]> www.infradead.org Git - linux.git/commit
drm/i915/dp: Use check link state work in the detect handler
authorImre Deak <imre.deak@intel.com>
Mon, 10 Jun 2024 16:49:24 +0000 (19:49 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 13 Jun 2024 18:26:49 +0000 (21:26 +0300)
commitff68f68c0ec5e4ad6ee3216ee53d12dd48d06b93
tree16592f1246a6a75e7b24665d9d49cf2fdced475d
parentb22b4dd96e5250c84d58de94513b4c6cd0825ce7
drm/i915/dp: Use check link state work in the detect handler

Simplify things by retraining a DP link if a bad link is detected in the
connector detect handler from the encoder's check link state work,
similarly to how this is done after a modeset link training failure.

v2: Add TODO: comment to remove the detect-time link state check.
    (Ville)

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://patchwork.freedesktop.org/patch/msgid/20240610164933.2947366-13-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h