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

Commit 9b90c24f authored by Naseer Ahmed's avatar Naseer Ahmed Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Fix fence installation when retire fence is skipped



A previous change caused the release fence to not be installed
when the retire fence was skipped. Install the release fence
regardless of the retire fence status.

Change-Id: I13fa1e98984867d8a7d9d318ece8c1a2f1c726ed
Signed-off-by: default avatarNaseer Ahmed <naseer@codeaurora.org>
parent 631c0892
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)