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: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
Satya Rama Aditya Pinapala
2020-04-29 11:07:28 -07:00
committed by Gerrit - the friendly Code Review server
parent a2a04712a9
commit 6574cc69b6

View File

@@ -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;
}