drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled
authorImre Deak <imre.deak@intel.com>
Tue, 24 Oct 2023 01:09:11 +0000 (04:09 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Nov 2023 15:22:14 +0000 (17:22 +0200)
commitaaa80e756e1cd8eb0561d7e244a9937fc23944d2
treee371ae2e4b62421fd97f895c9ddac8d35226354c
parent53f468aa90091d3a75ff17b1c2f4874a9b862b38
drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled

Atm the DSC PPS SDP will stay enabled after enabling and disabling DSC.
This leaves an output blank after switching off DSC on it. Make sure the
SDP is disabled for an uncompressed output.

v2:
- Disable the SDP already during output disabling. (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030155843.2251023-17-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c