drm/i915: WARN about invalid lane reversal in TBT-alt/DP-alt modes
authorImre Deak <imre.deak@intel.com>
Fri, 28 Jun 2019 14:36:35 +0000 (17:36 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 1 Jul 2019 12:06:35 +0000 (15:06 +0300)
commit3ee2771e47b038624d68aa051d78ff8558c260b9
treea502d023a471d47563986010153cc64a95106881
parenta171f8e7f466345a2a0c7bacdc7992777e1c1f37
drm/i915: WARN about invalid lane reversal in TBT-alt/DP-alt modes

Lane reversal happens only in the FIA module for TBT-alt/DP-alt mode, so
WARN if lane reversal is attempted at a different level. See the
BSpec DDI_BUF_CTL register description.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190628143635.22066-24-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c