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

Commit a2fdfcf8 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: move sync_fence_install after release/retire create_fence"

parents deab78d6 55f0c7e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -760,7 +760,6 @@ static struct sync_fence *__create_fence(struct msm_fb_data_type *mfd,
		goto end;
	}

	sync_fence_install(sync_fence, *fence_fd);
end:
	return sync_fence;
}
@@ -834,6 +833,9 @@ static int __handle_buffer_fences(struct msm_fb_data_type *mfd,
		goto retire_fence_err;
	}

	sync_fence_install(release_fence, commit->release_fence);
	sync_fence_install(retire_fence, commit->retire_fence);

	mutex_unlock(&sync_pt_data->sync_mutex);
	return ret;