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

Commit 6c75ae32 authored by Lei Chen's avatar Lei Chen Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: dsi: enable multi mode support for video mode panel



Multi-panel can't be supported by video panel, but multi panel
operating mode can be supported for video mode panel, so enable
multi-mode support for video mode panel for panel operating mode
switch.

Change-Id: I9a62ba0c880d13c7201235b9cb65728fa13e3232
Signed-off-by: default avatarLei Chen <chenlei@codeaurora.org>
parent 0ce6ca89
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3474,9 +3474,12 @@ int dsi_panel_get_mode_count(struct dsi_panel *panel)
		goto error;
	}

	/* No multiresolution support is available for video mode panels */
	/* No multiresolution support is available for video mode panels.
	 * Multi-mode is supported for video mode during POMS is enabled.
	 */
	if (panel->panel_mode != DSI_OP_CMD_MODE &&
		!panel->host_config.ext_bridge_mode)
		!panel->host_config.ext_bridge_mode &&
		!panel->panel_mode_switch_enabled)
		count = SINGLE_MODE_SUPPORT;

	panel->num_timing_nodes = count;