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

Commit 824f9995 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 fence installation when retire fence is skipped"

parents 58319123 9b90c24f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4216,10 +4216,10 @@ static int mdss_fb_handle_buf_sync_ioctl(struct msm_sync_pt_data *sync_pt_data,
		goto buf_sync_err_3;
	}

	sync_fence_install(rel_fence, rel_fen_fd);
	sync_fence_install(retire_fence, retire_fen_fd);

skip_retire_fence:
	sync_fence_install(rel_fence, rel_fen_fd);
	mutex_unlock(&sync_pt_data->sync_mutex);

	if (buf_sync->flags & MDP_BUF_SYNC_FLAG_WAIT)