Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60210da0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 762d8f7a 126ce89a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2154,7 +2154,8 @@ static int dp_panel_read_sink_caps(struct dp_panel *dp_panel,
	dp_panel->fec_en = false;
	dp_panel->fec_en = false;
	dp_panel->dsc_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);
		dp_panel_read_sink_fec_caps(dp_panel);


		if (dp_panel->dsc_feature_enable && dp_panel->fec_en)
		if (dp_panel->dsc_feature_enable && dp_panel->fec_en)