Commit 7997a9e4 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Drop redundant dsc_decompression_aux check



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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517145356.26103-2-ville.syrjala@linux.intel.com


Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent f8324128
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
}