thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled
authorGil Fine <gil.fine@intel.com>
Thu, 26 May 2022 10:59:21 +0000 (13:59 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 6 Jun 2022 09:24:56 +0000 (12:24 +0300)
commit3084b48fa13931400f316e2b9ffdd98b8ba6600e
tree87e88f0bcdef11a68e04d8e440d4e8561758688b
parentb017a46d486cd4113b1856f3fd611f54cd0f9c03
thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled

Here we configure TMU mode to HiFi uni-directional once DP tunnel
is created. This is due to accuracy requirement for DP tunneling
as appears in CM guide 1.0, section 7.3.2.
Due to Intel hardware limitation, once we changed the TMU mode to HiFi
uni-directional (when DP tunnel exists), we don't change TMU mode back to
normal uni-directional, even if DP tunnel is torn down later.

Signed-off-by: Gil Fine <gil.fine@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tmu.c