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

Commit 59a64723 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Reset NULL ROI to full panel resolution"

parents a734dbe8 87d3c171
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2137,6 +2137,7 @@ void mdss_mdp_set_roi(struct mdss_mdp_ctl *ctl,
	/* Reset ROI when we have (1) invalid ROI (2) feature disabled */
	if ((!l_roi.w && l_roi.h) || (l_roi.w && !l_roi.h) ||
		(!r_roi.w && r_roi.h) || (r_roi.w && !r_roi.h) ||
		(!l_roi.w && !l_roi.h && !r_roi.w && !r_roi.h) ||
		!ctl->panel_data->panel_info.partial_update_enabled) {
		l_roi = (struct mdss_rect)
		{0, 0, ctl->mixer_left->width, ctl->mixer_left->height};