drm/i915: Don't switch to TPS1 when disabling DP_TP_CTL
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Mar 2023 21:26:26 +0000 (23:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Mar 2023 21:47:05 +0000 (23:47 +0200)
commit8c042949af1e935123140ab6e6a3dff945194a11
tree852980bfef7516762fb19e3b1e612ead3d98cc36
parent68070b76c4aac9369d7f84d802111ef83a7ff943
drm/i915: Don't switch to TPS1 when disabling DP_TP_CTL

AFAICS Bspec has never asked us to switch to TPS1 when *disabling*
DP_TP_CTL. Let's stop doing that in case it confuses something.
We do have to switch before we *enable* DP_TP_CTL, but that
is already being handled correctly.

v2: Do the same for FDI
v3: Rebase

Reviewed-by: Imre Deak <imre.deak@intel.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230308212627.7601-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_fdi.c