if (dc_link->type != dc_connection_mst_branch)
return false;
+ /* add a check for older MST DSC with no virtual DPCDs */
+ if (needs_dsc_aux_workaround(dc_link) &&
+ (!(dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT ||
+ dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_PASSTHROUGH_SUPPORT)))
+ return false;
+
for (i = 0; i < MAX_PIPES; i++)
stream_on_link[i] = NULL;
continue;
/*
- * Check if cached virtual MST DSC caps are available and DSC is supported
- * this change takes care of newer MST DSC capable devices that report their
- * DPCD caps as per specifications in their Virtual DPCD registers.
-
- * TODO: implement the check for older MST DSC devices that do not conform to
- * specifications.
+ * check if cached virtual MST DSC caps are available and DSC is supported
+ * as per specifications in their Virtual DPCD registers.
*/
if (!(aconnector->dc_sink->dsc_caps.dsc_dec_caps.is_dsc_supported ||
aconnector->dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_PASSTHROUGH_SUPPORT))