Loading drivers/video/msm/mdss/dsi_host_v2.c +4 −2 Original line number Diff line number Diff line Loading @@ -969,6 +969,7 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) return ret; } if (from_mdp) /* from mdp kickoff */ mutex_lock(&ctrl->cmd_mutex); req = mdss_dsi_cmdlist_get(ctrl); Loading Loading @@ -999,6 +1000,7 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) msm_dsi_clk_ctrl(&ctrl->panel_data, 0); mdp3_res_update(0, 1, MDP3_CLIENT_DMA_P); if (from_mdp) /* from mdp kickoff */ mutex_unlock(&ctrl->cmd_mutex); return 0; } Loading drivers/video/msm/mdss/mdss_dsi_cmd.c +2 −1 Original line number Diff line number Diff line Loading @@ -671,7 +671,6 @@ int mdss_dsi_cmdlist_put(struct mdss_dsi_ctrl_pdata *ctrl, clist->get %= CMD_REQ_MAX; clist->tot--; } mutex_unlock(&ctrl->cmd_mutex); pr_debug("%s: tot=%d put=%d get=%d\n", __func__, clist->tot, clist->put, clist->get); Loading @@ -682,6 +681,8 @@ int mdss_dsi_cmdlist_put(struct mdss_dsi_ctrl_pdata *ctrl, else ret = ctrl->cmdlist_commit(ctrl, 0); } mutex_unlock(&ctrl->cmd_mutex); return ret; } drivers/video/msm/mdss/mdss_dsi_host.c +10 −5 Original line number Diff line number Diff line Loading @@ -1319,7 +1319,10 @@ int mdss_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) struct dcs_cmd_req *req; int ret = -EINVAL; int rc = 0; if (from_mdp) /* from mdp kickoff */ mutex_lock(&ctrl->cmd_mutex); req = mdss_dsi_cmdlist_get(ctrl); MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, Loading Loading @@ -1362,15 +1365,17 @@ int mdss_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) need_lock: if (from_mdp) { /* from pipe_commit */ MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, XLOG_FUNC_EXIT); if (from_mdp) { /* from mdp kickoff */ /* acquire lock only has new frame update */ if (ctrl->roi.w != 0 || ctrl->roi.h != 0) mdss_dsi_cmd_mdp_start(ctrl); } MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, XLOG_FUNC_EXIT); mutex_unlock(&ctrl->cmd_mutex); } return ret; } Loading Loading
drivers/video/msm/mdss/dsi_host_v2.c +4 −2 Original line number Diff line number Diff line Loading @@ -969,6 +969,7 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) return ret; } if (from_mdp) /* from mdp kickoff */ mutex_lock(&ctrl->cmd_mutex); req = mdss_dsi_cmdlist_get(ctrl); Loading Loading @@ -999,6 +1000,7 @@ int msm_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) msm_dsi_clk_ctrl(&ctrl->panel_data, 0); mdp3_res_update(0, 1, MDP3_CLIENT_DMA_P); if (from_mdp) /* from mdp kickoff */ mutex_unlock(&ctrl->cmd_mutex); return 0; } Loading
drivers/video/msm/mdss/mdss_dsi_cmd.c +2 −1 Original line number Diff line number Diff line Loading @@ -671,7 +671,6 @@ int mdss_dsi_cmdlist_put(struct mdss_dsi_ctrl_pdata *ctrl, clist->get %= CMD_REQ_MAX; clist->tot--; } mutex_unlock(&ctrl->cmd_mutex); pr_debug("%s: tot=%d put=%d get=%d\n", __func__, clist->tot, clist->put, clist->get); Loading @@ -682,6 +681,8 @@ int mdss_dsi_cmdlist_put(struct mdss_dsi_ctrl_pdata *ctrl, else ret = ctrl->cmdlist_commit(ctrl, 0); } mutex_unlock(&ctrl->cmd_mutex); return ret; }
drivers/video/msm/mdss/mdss_dsi_host.c +10 −5 Original line number Diff line number Diff line Loading @@ -1319,7 +1319,10 @@ int mdss_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) struct dcs_cmd_req *req; int ret = -EINVAL; int rc = 0; if (from_mdp) /* from mdp kickoff */ mutex_lock(&ctrl->cmd_mutex); req = mdss_dsi_cmdlist_get(ctrl); MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, Loading Loading @@ -1362,15 +1365,17 @@ int mdss_dsi_cmdlist_commit(struct mdss_dsi_ctrl_pdata *ctrl, int from_mdp) need_lock: if (from_mdp) { /* from pipe_commit */ MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, XLOG_FUNC_EXIT); if (from_mdp) { /* from mdp kickoff */ /* acquire lock only has new frame update */ if (ctrl->roi.w != 0 || ctrl->roi.h != 0) mdss_dsi_cmd_mdp_start(ctrl); } MDSS_XLOG(ctrl->ndx, from_mdp, ctrl->mdp_busy, current->pid, XLOG_FUNC_EXIT); mutex_unlock(&ctrl->cmd_mutex); } return ret; } Loading