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: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
parent
38a6f65128
commit
62be9c73b9
1 changed files with 2 additions and 0 deletions
|
@ -4242,9 +4242,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++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue