disp: msm: dp: Check if DP version supports FEC and DSC
FEC and DSC are only supported in DP 1.4 onwards. Read FEC and DSC capabilities only if this requirement is met. This will ensure backwards compatibility with older DP devices. CRs-Fixed: 2541795 Change-Id: I65a6cb903f332e896946dc3b9da4d95a14fac939 Signed-off-by: Fuad Hossain <fhossain@codeaurora.org>
此提交包含在:
@@ -2152,7 +2152,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)
|
||||
|
新增問題並參考
封鎖使用者