]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thunderbolt: Do not touch CL state configuration during discovery
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 24 May 2023 10:47:04 +0000 (13:47 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 29 May 2023 09:49:16 +0000 (12:49 +0300)
commit3fe95742af29b8b4eccab2ba94bc521805c6e10c
treef81017cc39ddb79ddc78f96ca72ab3becbd1e1ba
parentb6d572aeb58a5e0be86bd51ea514c4feba996cc4
thunderbolt: Do not touch CL state configuration during discovery

If the boot firmware has already established tunnels, especially ones
that have special requirements from the link such as DisplayPort, we
should not blindly enable CL states (nor change the TMU configuration).
Otherwise the existing tunnels may not work as expected.

For this reason, skip the CL state enabling when we go over the existing
topology. This will also keep the TMU settings untouched because we do
not change the TMU configuration when CL states are not enabled.

Reported-by: Koba Ko <koba.ko@canonical.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/7831
Cc: stable@vger.kernel.org # v6.0+
Acked-By: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c