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

Commit 6574cc69 authored by Satya Rama Aditya Pinapala's avatar Satya Rama Aditya Pinapala Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: dsi: remove pclk scaling for porches



Change removes scaling for porches while calculating h_total, as
it is not necessary. Using scaling for porches results in lower
clocks which in turn can lead to low FPS.

Change-Id: Idbad83e1c56f079e60fe5ac342f8dd977db54f8f
Signed-off-by: default avatarSatya Rama Aditya Pinapala <psraditya30@codeaurora.org>
parent a2a04712
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -748,9 +748,8 @@ static inline u64 dsi_h_total_dce(struct dsi_mode_info *mode)
{
	u64 h_total = dsi_h_active_dce(mode);

	h_total += DSI_H_SCALE(mode->h_back_porch, &mode->pclk_scale) +
			DSI_H_SCALE(mode->h_front_porch, &mode->pclk_scale) +
			DSI_H_SCALE(mode->h_sync_width, &mode->pclk_scale);
	h_total += mode->h_back_porch + mode->h_front_porch +
			mode->h_sync_width;
	return h_total;
}