mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 09:49:58 -04:00
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: 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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user