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

Commit 234b682c authored by Rajesh Yadav's avatar Rajesh Yadav Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Add systrace for readptr_done



Add systrace for readptr_done interrupt
for cmd mode panel.

Change-Id: I3694952289c76394af8d40cd89fd2175f49ac127
Signed-off-by: default avatarRajesh Yadav <ryadav@codeaurora.org>
parent 85d7e134
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -991,6 +991,7 @@ static void mdss_mdp_cmd_readptr_done(void *arg)
	vsync_time = ktime_get();
	ctl->vsync_cnt++;
	MDSS_XLOG(ctl->num, atomic_read(&ctx->koff_cnt));
	trace_mdp_cmd_readptr_done(ctl->num, atomic_read(&ctx->koff_cnt));
	complete_all(&ctx->rdptr_done);

	/* If caller is waiting for the read pointer, notify. */
+16 −0
Original line number Diff line number Diff line
@@ -372,6 +372,22 @@ TRACE_EVENT(mdp_cmd_pingpong_done,
			__entry->koff_cnt)
);

TRACE_EVENT(mdp_cmd_readptr_done,
	TP_PROTO(u32 ctl_num, int koff_cnt),
	TP_ARGS(ctl_num, koff_cnt),
	TP_STRUCT__entry(
			__field(u32, ctl_num)
			__field(int, koff_cnt)
	),
	TP_fast_assign(
			__entry->ctl_num = ctl_num;
			__entry->koff_cnt = koff_cnt;
	),
	TP_printk("ctl num:%d kickoff:%d",
			__entry->ctl_num,
			__entry->koff_cnt)
);

TRACE_EVENT(mdp_cmd_release_bw,
	TP_PROTO(u32 ctl_num),
	TP_ARGS(ctl_num),