]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/dp: Skip computing a non-DSC link config if DSC is needed
authorImre Deak <imre.deak@intel.com>
Thu, 21 Sep 2023 19:51:51 +0000 (22:51 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 28 Sep 2023 09:52:02 +0000 (12:52 +0300)
commit7d0f2f68b661e5fb4bc833d6ca22974134220e99
tree089eddc7652af32aecb8cd84725c3a27195a6377
parent703c5994fe1a2bf45391c2a2a365bea541041b9a
drm/i915/dp: Skip computing a non-DSC link config if DSC is needed

Computing the non-DSC mode link config is redundant once it's determined
that DSC will be needed, so skip computing it. In a follow-up patch this
simplifies setting the link limits which are dependent on the DSC vs.
non-DSC mode.

While at it sanitize the debug print about the MST DSC fallback path,
making it similar to the SST DSC one.

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