Loading drivers/video/msm/mdss/mdss_mdp_ctl.c +4 −0 Original line number Diff line number Diff line Loading @@ -3362,11 +3362,15 @@ int mdss_mdp_ctl_update_fps(struct mdss_mdp_ctl *ctl, int fps) int ret = 0; struct mdss_mdp_ctl *sctl = NULL; mutex_lock(&ctl->offlock); sctl = mdss_mdp_get_split_ctl(ctl); if (ctl->ops.config_fps_fnc) ret = ctl->ops.config_fps_fnc(ctl, sctl, fps); mutex_unlock(&ctl->offlock); return ret; } Loading drivers/video/msm/mdss/mdss_mdp_intf_video.c +2 −2 Original line number Diff line number Diff line Loading @@ -430,7 +430,6 @@ static int mdss_mdp_video_ctx_stop(struct mdss_mdp_ctl *ctl, int rc = 0; u32 frame_rate = 0; mutex_lock(&ctl->offlock); if (ctx->timegen_en) { rc = mdss_mdp_ctl_intf_event(ctl, MDSS_EVENT_BLANK, NULL); if (rc == -EBUSY) { Loading Loading @@ -460,7 +459,6 @@ static int mdss_mdp_video_ctx_stop(struct mdss_mdp_ctl *ctl, ctx->ref_cnt--; end: mutex_unlock(&ctl->offlock); return rc; } Loading Loading @@ -524,6 +522,7 @@ static int mdss_mdp_video_stop(struct mdss_mdp_ctl *ctl, int panel_power_state) { int intfs_num, ret = 0; mutex_lock(&ctl->offlock); intfs_num = ctl->intf_num - MDSS_MDP_INTF0; ret = mdss_mdp_video_intfs_stop(ctl, ctl->panel_data, intfs_num); if (IS_ERR_VALUE(ret)) { Loading @@ -535,6 +534,7 @@ static int mdss_mdp_video_stop(struct mdss_mdp_ctl *ctl, int panel_power_state) mdss_mdp_ctl_reset(ctl); ctl->intf_ctx[MASTER_CTX] = NULL; mutex_unlock(&ctl->offlock); return 0; } Loading Loading
drivers/video/msm/mdss/mdss_mdp_ctl.c +4 −0 Original line number Diff line number Diff line Loading @@ -3362,11 +3362,15 @@ int mdss_mdp_ctl_update_fps(struct mdss_mdp_ctl *ctl, int fps) int ret = 0; struct mdss_mdp_ctl *sctl = NULL; mutex_lock(&ctl->offlock); sctl = mdss_mdp_get_split_ctl(ctl); if (ctl->ops.config_fps_fnc) ret = ctl->ops.config_fps_fnc(ctl, sctl, fps); mutex_unlock(&ctl->offlock); return ret; } Loading
drivers/video/msm/mdss/mdss_mdp_intf_video.c +2 −2 Original line number Diff line number Diff line Loading @@ -430,7 +430,6 @@ static int mdss_mdp_video_ctx_stop(struct mdss_mdp_ctl *ctl, int rc = 0; u32 frame_rate = 0; mutex_lock(&ctl->offlock); if (ctx->timegen_en) { rc = mdss_mdp_ctl_intf_event(ctl, MDSS_EVENT_BLANK, NULL); if (rc == -EBUSY) { Loading Loading @@ -460,7 +459,6 @@ static int mdss_mdp_video_ctx_stop(struct mdss_mdp_ctl *ctl, ctx->ref_cnt--; end: mutex_unlock(&ctl->offlock); return rc; } Loading Loading @@ -524,6 +522,7 @@ static int mdss_mdp_video_stop(struct mdss_mdp_ctl *ctl, int panel_power_state) { int intfs_num, ret = 0; mutex_lock(&ctl->offlock); intfs_num = ctl->intf_num - MDSS_MDP_INTF0; ret = mdss_mdp_video_intfs_stop(ctl, ctl->panel_data, intfs_num); if (IS_ERR_VALUE(ret)) { Loading @@ -535,6 +534,7 @@ static int mdss_mdp_video_stop(struct mdss_mdp_ctl *ctl, int panel_power_state) mdss_mdp_ctl_reset(ctl); ctl->intf_ctx[MASTER_CTX] = NULL; mutex_unlock(&ctl->offlock); return 0; } Loading