msm: mdss: add xlog for debug in ping_pong timeout
Add addtional debug info to know the commit count on pingpong timeout. Change-Id: I1f40a5eee1a14efbf03487db9d398e04cd2e6f7c Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
This commit is contained in:
parent
da4d92394d
commit
d6d2450a70
1 changed files with 4 additions and 3 deletions
|
@ -1553,10 +1553,10 @@ static int mdss_mdp_cmd_wait4pingpong(struct mdss_mdp_ctl *ctl, void *arg)
|
|||
|
||||
if (rc <= 0) {
|
||||
u32 status, mask;
|
||||
|
||||
mask = BIT(MDSS_MDP_IRQ_PING_PONG_COMP + ctx->current_pp_num);
|
||||
status = mask & readl_relaxed(ctl->mdata->mdp_base +
|
||||
MDSS_MDP_REG_INTR_STATUS);
|
||||
MDSS_XLOG(status, atomic_read(&ctx->koff_cnt), rc);
|
||||
if (status) {
|
||||
pr_warn("pp done but irq not triggered\n");
|
||||
mdss_mdp_irq_clear(ctl->mdata,
|
||||
|
@ -1572,9 +1572,10 @@ static int mdss_mdp_cmd_wait4pingpong(struct mdss_mdp_ctl *ctl, void *arg)
|
|||
}
|
||||
|
||||
if (rc <= 0) {
|
||||
pr_err("%s: wait4pingpong timed out. ctl=%d rc=%d cnt=%d\n",
|
||||
pr_err("%s:wait4pingpong timed out ctl=%d rc=%d cnt=%d koff_cnt=%d\n",
|
||||
__func__,
|
||||
ctl->num, rc, ctx->pp_timeout_report_cnt);
|
||||
ctl->num, rc, ctx->pp_timeout_report_cnt,
|
||||
atomic_read(&ctx->koff_cnt));
|
||||
if (ctx->pp_timeout_report_cnt == 0) {
|
||||
MDSS_XLOG(0xbad);
|
||||
MDSS_XLOG_TOUT_HANDLER("mdp", "dsi0_ctrl", "dsi0_phy",
|
||||
|
|
Loading…
Add table
Reference in a new issue