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

Commit 8576a7b7 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

msm: mdss: add atraces for tracking atomic commit



Add atraces tag to track atomic commit. This would be helpful
in analysing systraces to isolate any delays during validate
and commit cycle.

CRs-fixed: 930504
Change-Id: I204e620283926b03f3e956731145b99d81b29e6d
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent ef78af1b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4177,9 +4177,11 @@ static int mdss_fb_atomic_commit_ioctl(struct fb_info *info,
		}
	}

	ATRACE_BEGIN("ATOMIC_COMMIT");
	ret = mdss_fb_atomic_commit(info, &commit, file);
	if (ret)
		pr_err("atomic commit failed ret:%d\n", ret);
	ATRACE_END("ATOMIC_COMMIT");

	if (layer_count) {
		for (j = 0; j < layer_count; j++) {