drm/i915: Don't enable the DDI-IO power in the TypeC TBT-alt mode
authorImre Deak <imre.deak@intel.com>
Fri, 28 Jun 2019 14:36:17 +0000 (17:36 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 1 Jul 2019 11:49:58 +0000 (14:49 +0300)
commit3b2ed431342948646ed1ecf2ad73e4b54e88572b
treea3dbadc7a198d7f53798596b80430c5da8f3903c
parente9b7e1422d409bb7d3423b8d1e59865227083669
drm/i915: Don't enable the DDI-IO power in the TypeC TBT-alt mode

According to the spec we should not enable the DDI-IO power domain if
the TypeC port is in the TBT-alt mode, so do that only in the other
TypeC modes or for non-TypeC ports. See the internal BSpec Index/22243.

v2:
- Add the internal BSpec reference to the log message. (José)

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: José Roberto de Souza <jose.souza@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-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c