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

Commit beef629f 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: Add border value to width and height to cmd mode panel"

parents 27ab7a8b 5735459b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1462,6 +1462,11 @@ static void mdss_dsi_mode_setup(struct mdss_panel_data *pdata)
					(mipi->vc << 8) | DTYPE_DCS_LWRITE;
			stream_total = pinfo->roi.h << 16 | pinfo->roi.w;
		} else {
			width = width + pdata->panel_info.lcdc.border_left +
				pdata->panel_info.lcdc.border_right;
			height = height +  pdata->panel_info.lcdc.border_top +
				pdata->panel_info.lcdc.border_bottom;
			ystride = width * bpp + 1;
			stream_ctrl = (ystride << 16) | (mipi->vc << 8) |
					DTYPE_DCS_LWRITE;
			stream_total = height << 16 | width;