OSDN Git Service

drm/i915/dp: Fix MST disable sequence
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 23 Dec 2019 01:06:51 +0000 (17:06 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 23 Dec 2019 17:26:43 +0000 (09:26 -0800)
commitc59053dc58fa3b81ade8e4b411c0e127669c9167
tree509da92bd88dcaa0fb65f8b770572da143c4565c
parent659f14158f1f0d6d8b3246aa67898fd66b0d5cda
drm/i915/dp: Fix MST disable sequence

The disable sequence after wait for transcoder off was not correctly
implemented.
The MST disable sequence is basically the same for HSW, SKL, ICL and
TGL, with just minor changes for TGL.

With this last patch we finally fixed the hotplugs triggered by MST
sinks during the disable/enable sequence, those were causing source
to try to do a link training while it was not ready causing CPU pipe
FIFO underrrus on TGL.

v2: Only unsetting TGL_TRANS_DDI_PORT_MASK for TGL on the post
disable sequence

v4: Rebased, moved MST sequences to intel_mst_post_disable_dp()

BSpec: 4231
BSpec: 4163
BSpec: 22243
BSpec: 49190
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191223010654.67037-4-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp_mst.c