Loading drivers/video/msm/mdss/dsi_host_v2.c +6 −0 Original line number Diff line number Diff line Loading @@ -959,11 +959,17 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) msm_dsi_clk_ctrl(&ctrl->panel_data, 1); if (0 == (req->flags & CMD_REQ_LP_MODE)) dsi_set_tx_power_mode(0); if (req->flags & CMD_REQ_RX) msm_dsi_cmdlist_rx(ctrl, req); else msm_dsi_cmdlist_tx(ctrl, req); if (0 == (req->flags & CMD_REQ_LP_MODE)) dsi_set_tx_power_mode(1); msm_dsi_clk_ctrl(&ctrl->panel_data, 0); mutex_unlock(&ctrl->cmd_mutex); Loading drivers/video/msm/mdss/mdss_dsi_cmd.h +1 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ struct dsi_cmd_desc { #define CMD_REQ_COMMIT 0x0002 #define CMD_CLK_CTRL 0x0004 #define CMD_REQ_NO_MAX_PKT_SIZE 0x0008 #define CMD_REQ_LP_MODE 0x0010 struct dcs_cmd_req { struct dsi_cmd_desc *cmds; Loading drivers/video/msm/mdss/mdss_dsi_panel.c +5 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,11 @@ static void mdss_dsi_panel_cmds_send(struct mdss_dsi_ctrl_pdata *ctrl, cmdreq.cmds = pcmds->cmds; cmdreq.cmds_cnt = pcmds->cmd_cnt; cmdreq.flags = CMD_REQ_COMMIT; /*Panel ON/Off commands should be sent in DSI Low Power Mode*/ if (pcmds->link_state == DSI_LP_MODE) cmdreq.flags |= CMD_REQ_LP_MODE; cmdreq.rlen = 0; cmdreq.cb = NULL; Loading Loading
drivers/video/msm/mdss/dsi_host_v2.c +6 −0 Original line number Diff line number Diff line Loading @@ -959,11 +959,17 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) msm_dsi_clk_ctrl(&ctrl->panel_data, 1); if (0 == (req->flags & CMD_REQ_LP_MODE)) dsi_set_tx_power_mode(0); if (req->flags & CMD_REQ_RX) msm_dsi_cmdlist_rx(ctrl, req); else msm_dsi_cmdlist_tx(ctrl, req); if (0 == (req->flags & CMD_REQ_LP_MODE)) dsi_set_tx_power_mode(1); msm_dsi_clk_ctrl(&ctrl->panel_data, 0); mutex_unlock(&ctrl->cmd_mutex); Loading
drivers/video/msm/mdss/mdss_dsi_cmd.h +1 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ struct dsi_cmd_desc { #define CMD_REQ_COMMIT 0x0002 #define CMD_CLK_CTRL 0x0004 #define CMD_REQ_NO_MAX_PKT_SIZE 0x0008 #define CMD_REQ_LP_MODE 0x0010 struct dcs_cmd_req { struct dsi_cmd_desc *cmds; Loading
drivers/video/msm/mdss/mdss_dsi_panel.c +5 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,11 @@ static void mdss_dsi_panel_cmds_send(struct mdss_dsi_ctrl_pdata *ctrl, cmdreq.cmds = pcmds->cmds; cmdreq.cmds_cnt = pcmds->cmd_cnt; cmdreq.flags = CMD_REQ_COMMIT; /*Panel ON/Off commands should be sent in DSI Low Power Mode*/ if (pcmds->link_state == DSI_LP_MODE) cmdreq.flags |= CMD_REQ_LP_MODE; cmdreq.rlen = 0; cmdreq.cb = NULL; Loading