]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Do not switch aux to TBT mode for non-TC ports
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 29 Oct 2019 01:10:14 +0000 (18:10 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 31 Oct 2019 17:22:22 +0000 (10:22 -0700)
commit49748264826ff4cc7f0ebbdd6b0d1a36b13b1cee
tree059a905ff55f24c37f3360c8297c688c6a16adb4
parent034982cff1a12f9030f2f25dfbbedf81c57c08d2
drm/i915/dp: Do not switch aux to TBT mode for non-TC ports

Non-TC ports always have tc_mode == TC_PORT_TBT_ALT so it was
switching aux to TBT mode for all combo-phy ports, happily this did
not caused any issue but is better follow BSpec.
Also this is reserved bit before ICL.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Fixes: e9b7e1422d40 ("drm/i915: Sanitize the terminology used for TypeC port modes")
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029011014.286885-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_dp.c