Loading drivers/video/msm/mdss/mdss_mdp_layer.c +8 −0 Original line number Diff line number Diff line Loading @@ -2234,6 +2234,14 @@ int mdss_mdp_layer_pre_commit_wfd(struct msm_fb_data_type *mfd, sync_pt_data = &mfd->mdp_sync_pt_data; mutex_lock(&sync_pt_data->sync_mutex); count = sync_pt_data->acq_fen_cnt; if (count >= MDP_MAX_FENCE_FD) { pr_err("Reached maximum possible value for fence count\n"); mutex_unlock(&sync_pt_data->sync_mutex); rc = -EINVAL; goto input_layer_err; } sync_pt_data->acq_fen[count] = fence; sync_pt_data->acq_fen_cnt++; mutex_unlock(&sync_pt_data->sync_mutex); Loading Loading
drivers/video/msm/mdss/mdss_mdp_layer.c +8 −0 Original line number Diff line number Diff line Loading @@ -2234,6 +2234,14 @@ int mdss_mdp_layer_pre_commit_wfd(struct msm_fb_data_type *mfd, sync_pt_data = &mfd->mdp_sync_pt_data; mutex_lock(&sync_pt_data->sync_mutex); count = sync_pt_data->acq_fen_cnt; if (count >= MDP_MAX_FENCE_FD) { pr_err("Reached maximum possible value for fence count\n"); mutex_unlock(&sync_pt_data->sync_mutex); rc = -EINVAL; goto input_layer_err; } sync_pt_data->acq_fen[count] = fence; sync_pt_data->acq_fen_cnt++; mutex_unlock(&sync_pt_data->sync_mutex); Loading