diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-17 17:53:52 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-06-14 20:26:44 +0300 |
commit | 0c0543ff0a8d8f5312d66d2b863032acdf6d77d0 (patch) | |
tree | 1a2bf8dac0b6d9e4c4058843bfc7f5c0ae80d2b0 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 35859d448a2097d9197aecc61b55f158cba0a17d (diff) | |
download | linux-0c0543ff0a8d8f5312d66d2b863032acdf6d77d0.tar.gz linux-0c0543ff0a8d8f5312d66d2b863032acdf6d77d0.tar.bz2 linux-0c0543ff0a8d8f5312d66d2b863032acdf6d77d0.zip |
drm/i915: Handle MST in intel_dp_has_dsc()
Utilize intel_dp_has_dsc() for MST as well.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517145356.26103-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 |
1 files changed, 1 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 e92a10c1f34e..a9a07dcf3ab4 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1459,8 +1459,7 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector, return 0; } - if (HAS_DSC_MST(dev_priv) && - drm_dp_sink_supports_dsc(intel_connector->dp.dsc_dpcd)) { + if (intel_dp_has_dsc(intel_connector)) { /* * TBD pass the connector BPC, * for now U8_MAX so that max BPC on that platform would be picked |