]> 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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 4 Nov 2019 21:24:14 +0000 (13:24 -0800)
commitaa58619ee8ed42610bf1297ee64611e2719ccd23
tree250a41a00e9c4cb3612248c3a197521e2cea209b
parent499e41b16a10d8e75a8870df68ee5e7f7d0ddcc5
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
(cherry picked from commit 49748264826ff4cc7f0ebbdd6b0d1a36b13b1cee)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c