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

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

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-12-imre.deak@intel.com
drivers/gpu/drm/i915/display/g4x_dp.c
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h