Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1290e2f3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: fix race condition with overlay off in doze mode"

parents e2fdacf9 e20699d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6080,6 +6080,7 @@ static int mdss_mdp_overlay_off(struct msm_fb_data_type *mfd)
		goto end;
	}

ctl_stop:
	/*
	 * If retire fences are still active wait for a vsync time
	 * for retire fence to be updated.
@@ -6111,7 +6112,6 @@ static int mdss_mdp_overlay_off(struct msm_fb_data_type *mfd)
		flush_kthread_work(&mdp5_data->vsync_work);
	}

ctl_stop:
	mutex_lock(&mdp5_data->ov_lock);
	/* set the correct pipe_mapped before ctl_stop */
	mdss_mdp_mixer_update_pipe_map(mdp5_data->ctl,