]> 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)
commita5d55f7262e26707f44a68b283e3a68efed8826a
treee1a201988f566ef36c7c2d680ae9077c2d20917f
parent08e2d384828f81fea797f7838f42bd4f61b0156c
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