Merge "disp: msm: dp: Check if DP version supports FEC and DSC"

This commit is contained in:
qctecmdr 2019-10-11 12:10:08 -07:00 committed by Gerrit - the friendly Code Review server
commit 60210da084

View File

@ -2154,7 +2154,8 @@ static int dp_panel_read_sink_caps(struct dp_panel *dp_panel,
dp_panel->fec_en = false;
dp_panel->dsc_en = false;
if (dp_panel->fec_feature_enable) {
if (dp_panel->dpcd[DP_DPCD_REV] >= DP_DPCD_REV_14 &&
dp_panel->fec_feature_enable) {
dp_panel_read_sink_fec_caps(dp_panel);
if (dp_panel->dsc_feature_enable && dp_panel->fec_en)