]> 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)
commitf458d96e1795f2b881018e39226791d6a4f716a6
tree059a905ff55f24c37f3360c8297c688c6a16adb4
parent5dce7f32f49952a2f74a73042e5ff40b90d5650f
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: 7cb5c02890d1 ("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