disp: msm: dsi: update panel commands for panel operating mode switch

Update panel commands to support panel operating mode switch in
one timing node.

Change-Id: Ieb8303cebe78c699dfd5f274830418e87655ff56
Signed-off-by: Lei Chen <chenlei@codeaurora.org>
Cette révision appartient à :
Lei Chen
2020-10-23 18:30:25 +08:00
révisé par Gerrit - the friendly Code Review server
Parent ab3f86f918
révision 8cdb80455f
4 fichiers modifiés avec 71 ajouts et 41 suppressions

Voir le fichier

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
*/
#ifndef _DSI_PANEL_H_
@@ -361,10 +361,13 @@ int dsi_panel_send_qsync_off_dcs(struct dsi_panel *panel,
int dsi_panel_send_roi_dcs(struct dsi_panel *panel, int ctrl_idx,
struct dsi_rect *roi);
int dsi_panel_pre_mode_switch_to_video(struct dsi_panel *panel);
int dsi_panel_pre_mode_switch_to_cmd(struct dsi_panel *panel);
int dsi_panel_mode_switch_to_cmd(struct dsi_panel *panel);
int dsi_panel_mode_switch_to_vid(struct dsi_panel *panel);
int dsi_panel_switch_video_mode_out(struct dsi_panel *panel);
int dsi_panel_switch_cmd_mode_out(struct dsi_panel *panel);
int dsi_panel_switch_cmd_mode_in(struct dsi_panel *panel);
int dsi_panel_switch_video_mode_in(struct dsi_panel *panel);
int dsi_panel_switch(struct dsi_panel *panel);