]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Suppress old PLL pipe_mask checks for MG/TC/TBT PLLs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Jan 2024 09:31:36 +0000 (11:31 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 26 Jan 2024 09:28:49 +0000 (11:28 +0200)
commit33c7760226c79ee8de6c0646640963a8a7ee794a
tree02a3859f26c27a8a56690ec562d2e2203a124d66
parentd283ee5662c6bf2f3771a36b926f6988e6dddfc6
drm/i915: Suppress old PLL pipe_mask checks for MG/TC/TBT PLLs

TC ports have both the MG/TC and TBT PLLs selected simultanously (so
that we can switch from MG/TC to TBT as a fallback). This doesn't play
well with the state checker that assumes that the old PLL shouldn't
have the pipe in its pipe_mask anymore. Suppress that check for these
PLLs to avoid spurious WARNs when you disconnect a TC port and a
non-disabling modeset happens before actually disabling the port.

v2: Only suppress when one of the PLLs is the TBT PLL and the
    other one is not

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9816
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123093137.9133-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.h