msm: mdss: increase mdp hw recovery timeout
In some cases, display driver times out waiting for the mdp hw recovery to complete, causing the device to panic; however in some cases hw is able to successfuly complete the recovery after some more time. This change increases the timeout, so driver waits more time for the hw to complete the recovery sequence. CRs-Fixed: 1055875 Change-Id: I31909c45a4fec921da322658ec84d387d0f182ac Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
This commit is contained in:
parent
fa0dc60444
commit
da1fa7ea2e
1 changed files with 4 additions and 2 deletions
|
@ -4315,9 +4315,11 @@ void mdss_mdp_check_ctl_reset_status(struct mdss_mdp_ctl *ctl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pr_debug("hw ctl reset is set for ctl:%d\n", ctl->num);
|
pr_debug("hw ctl reset is set for ctl:%d\n", ctl->num);
|
||||||
status = mdss_mdp_poll_ctl_reset_status(ctl, 5);
|
/* poll for at least ~1 frame */
|
||||||
|
status = mdss_mdp_poll_ctl_reset_status(ctl, 320);
|
||||||
if (status) {
|
if (status) {
|
||||||
pr_err("hw recovery is not complete for ctl:%d\n", ctl->num);
|
pr_err("hw recovery is not complete for ctl:%d status:0x%x\n",
|
||||||
|
ctl->num, status);
|
||||||
MDSS_XLOG_TOUT_HANDLER("mdp", "vbif", "vbif_nrt", "dbg_bus",
|
MDSS_XLOG_TOUT_HANDLER("mdp", "vbif", "vbif_nrt", "dbg_bus",
|
||||||
"vbif_dbg_bus", "panic");
|
"vbif_dbg_bus", "panic");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue