]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/i915: Drop redundant dsc_decompression_aux check
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 May 2024 14:53:50 +0000 (17:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 14 Jun 2024 17:22:06 +0000 (20:22 +0300)
If we have no dsc_decompression_aux (only possible on MST)
then we won't have the dsc_dpcd caps either. So checking
both is not needed.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517145356.26103-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c

index 9a9bb0f5b7fe064b1b79bfd3941d4aa0a6c0b7d4..09a06fb232f3a819232be21d9bd0e0c7dc615690 100644 (file)
@@ -1424,7 +1424,6 @@ static bool intel_dp_supports_dsc(const struct intel_connector *connector,
                return false;
 
        return intel_dsc_source_support(crtc_state) &&
-               connector->dp.dsc_decompression_aux &&
                drm_dp_sink_supports_dsc(connector->dp.dsc_dpcd);
 }