]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Push MST link retraining to the hotplug work
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Apr 2020 15:27:34 +0000 (18:27 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Apr 2020 18:21:11 +0000 (21:21 +0300)
commitf0617ff0b89416d5e15e14c22489ae3013d343fa
treee1a201988f566ef36c7c2d680ae9077c2d20917f
parent3c0ec2c2d5948356a22c8f1c08a8087b12a303e7
drm/i915: Push MST link retraining to the hotplug work

We shouldn't try to do link retraining from the short hpd handler.
We can't take any modeset locks there so this is racy as hell.
Push the whole thing into the hotplug work like we do with SST.

We'll just have to adjust the SST retraining code to deal with
the MST encoders and multiple pipes.

TODO: I have a feeling we should just rip this all out and
do a full modeset instead. Stuff like port sync and the tgl+
MST master transcoder stuff maybe doesn't work well if we
try to retrain without following the proper modeset sequence.
So far haven't done any actual tests to confirm that though.

Cc: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417152734.464-2-ville.syrjala@linux.intel.com
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/i915/display/intel_dp.c