diff options
| author | Imre Deak <[email protected]> | 2023-10-06 13:37:26 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2023-10-16 14:01:53 +0000 |
| commit | d19daffc89fe50f1a3ab3007e006d0f97544a27c (patch) | |
| tree | c9aba7be2b7f259487a24ffc02d22458fcfca5db /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/i915/dp: Use connector DSC DPCD in intel_dp_dsc_compute_config() (diff) | |
| download | kernel-d19daffc89fe50f1a3ab3007e006d0f97544a27c.tar.gz kernel-d19daffc89fe50f1a3ab3007e006d0f97544a27c.zip | |
drm/i915/dp_mst: Use connector DSC DPCD in intel_dp_mst_mode_valid_ctx()
Use the connector's DSC DPCD capabilities in
intel_dp_mst_mode_valid_ctx().
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 115d4d8870b0..a065388c2199 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -996,14 +996,14 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector, } if (DISPLAY_VER(dev_priv) >= 10 && - drm_dp_sink_supports_dsc(intel_dp->dsc_dpcd)) { + drm_dp_sink_supports_dsc(intel_connector->dp.dsc_dpcd)) { /* * TBD pass the connector BPC, * for now U8_MAX so that max BPC on that platform would be picked */ int pipe_bpp = intel_dp_dsc_compute_max_bpp(intel_connector, U8_MAX); - if (drm_dp_sink_supports_fec(intel_dp->fec_capable)) { + if (drm_dp_sink_supports_fec(intel_connector->dp.fec_capability)) { dsc_max_compressed_bpp = intel_dp_dsc_get_max_compressed_bpp(dev_priv, max_link_clock, |
