drm/i915/dp: Use connector DSC DPCD in intel_dp_dsc_compute_max_bpp()
authorImre Deak <imre.deak@intel.com>
Fri, 6 Oct 2023 13:37:14 +0000 (16:37 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 16 Oct 2023 14:00:58 +0000 (17:00 +0300)
commitf52bbfe2ac657c3bd82fdbdcdffc2c8054358b37
tree3695765a65f5a71adb8836cb50b079d43b5238c5
parent102c8013b6536d93506d85d6664968e51556102c
drm/i915/dp: Use connector DSC DPCD in intel_dp_dsc_compute_max_bpp()

Use the connector's DSC DPCD capabilities in intel_dp_dsc_compute_max_bpp()
instead of the version stored in the encoder.

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
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/20231006133727.1822579-7-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c