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

Commit d59451d9 authored by Lipsa Rout's avatar Lipsa Rout Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: dsi: Add support to skip constant fps for command mode



VFP or HFP is adjusted to achieve constant fps during dynamic
DSI clock switch. This feature is not supported for command
mode. So, add check to skip porch calculation for command mode.

Change-Id: I5fa76d6536a55b2a19f24c0e14b6861e1f4c8f25
Signed-off-by: default avatarLipsa Rout <lrout@codeaurora.org>
Signed-off-by: default avatarSatya Rama Aditya Pinapala <psraditya30@codeaurora.org>
parent 9cf9c8e9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5967,6 +5967,10 @@ void dsi_display_adjust_mode_timing(
{
	u64 new_htotal, new_vtotal, htotal, vtotal, old_htotal, div;

	/* Constant FPS is not supported on command mode */
	if (dsi_mode->panel_mode == DSI_OP_CMD_MODE)
		return;

	if (!dyn_clk_caps->maintain_const_fps)
		return;
	/*