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

Commit fa5da903 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: set mdp video stop mode"

parents 7dba9de8 93356abb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1168,6 +1168,11 @@ static void mdss_mdp_fetch_start_config(struct mdss_mdp_video_ctx *ctx,
	h_total = mdss_panel_get_htotal(pinfo, true);
	fetch_start = (v_total - mdss_mdp_max_fetch_lines(pinfo)) * h_total + 1;
	fetch_enable = BIT(31);

	if (pinfo->dynamic_fps && (pinfo->dfps_update ==
			DFPS_IMMEDIATE_CLK_UPDATE_MODE))
		fetch_enable |= BIT(23);

	ctl->prg_fet = true;

	pr_debug("ctl:%d, fetch start=%d\n", ctl->num, fetch_start);