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

Commit 8cfb752e authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

msm: mdss: Fix mdp clock rate assignment when apply fudge is false



When apply fudge is false, currently mdp clock rate can take
garbage values, hence assign the calculated clock rate without
applying any fudge factors.

Change-Id: I7c9d34024ab94b05160b50560ab136c0c8b7781d
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 379c622b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -382,6 +382,8 @@ int mdss_mdp_perf_calc_pipe(struct mdss_mdp_pipe *pipe,

	if (apply_fudge)
		perf->mdp_clk_rate = mdss_mdp_clk_fudge_factor(mixer, rate);
	else
		perf->mdp_clk_rate = rate;

	prefill_params.smp_bytes = mdss_mdp_smp_get_size(pipe);
	prefill_params.xres = xres;