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

Commit add6e9e5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 29ad2db3 e5bb061e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6127,6 +6127,10 @@ static void dsi_display_adjust_mode_timing(struct dsi_display *display,
	struct dsi_dyn_clk_caps *dyn_clk_caps;
	u32 bits_per_symbol = 16, num_of_symbols = 7; /* For Cphy */

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

	dyn_clk_caps = &(display->panel->dyn_clk_caps);
	if (!dyn_clk_caps->maintain_const_fps)
		return;