msm: mdss: use xlog instead of bug on fetch halt timeout

BUG will panic without giving the state of the display hardware at
the point where it happens. Instead use XLOG which will provide more
details about the hardware and can be disabled to allow recovery
sequence to kick in.

Change-Id: Id4602394f1096d5f40321c14c4d5af48675468e8
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
This commit is contained in:
Adrian Salido-Moreno 2014-12-13 17:17:18 -08:00 committed by David Keitel
parent 59be0cd32d
commit 02bf9488c8

View file

@ -3074,7 +3074,7 @@ int mdss_mdp_wait_for_xin_halt(u32 xin_id, bool is_vbif_nrt)
if (rc == -ETIMEDOUT) { if (rc == -ETIMEDOUT) {
pr_err("VBIF client %d not halting. TIMEDOUT.\n", pr_err("VBIF client %d not halting. TIMEDOUT.\n",
xin_id); xin_id);
BUG(); MDSS_XLOG_TOUT_HANDLER("mdp", "vbif", "panic");
} else { } else {
pr_debug("VBIF client %d is halted\n", xin_id); pr_debug("VBIF client %d is halted\n", xin_id);
} }