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

Commit 58303965 authored by raghavendra ambadas's avatar raghavendra ambadas
Browse files

msm: mdss: send correct bpp value for BW calc



After bootup the BW vote is higher due to wrong bpp
value used for calculation. Due to higher bpp value,
BW voting is very high before first suspend.

Change-Id: I4e7bc33bcdbab7708127bed09895af149971253e
Signed-off-by: default avatarRaghavendra Ambadas <rambad@codeaurora.org>
parent e2399b46
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2282,7 +2282,8 @@ static int mdp3_continuous_splash_on(struct mdss_panel_data *pdata)
		pr_err("invalid bus handle %d\n", bus_handle->handle);
		return -EINVAL;
	}
	mdp3_calc_dma_res(panel_info, &mdp_clk_rate, &ab, &ib, panel_info->bpp);
	mdp3_calc_dma_res(panel_info, &mdp_clk_rate, &ab,
					&ib, MAX_BPP_SUPPORTED);

	mdp3_clk_set_rate(MDP3_CLK_VSYNC, MDP_VSYNC_CLK_RATE,
			MDP3_CLIENT_DMA_P);