disp: msm: sde: reset ctl on autorefresh disable failure
Reset MDP ctl path and DSI ctl on autorefresh disable failure. This will enable the hardware to recover from the hang. Change-Id: Ia9acc8573c22e0713179ef4f6ef604caacabfadb Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
363aadd666
commit
bceea4e1fe
@@ -885,7 +885,12 @@ static void sde_kms_prepare_commit(struct msm_kms *kms,
|
||||
if (encoder->crtc != crtc)
|
||||
continue;
|
||||
|
||||
sde_encoder_prepare_commit(encoder);
|
||||
if (sde_encoder_prepare_commit(encoder) == -ETIMEDOUT) {
|
||||
SDE_ERROR("crtc:%d, initiating hw reset\n",
|
||||
DRMID(crtc));
|
||||
sde_encoder_needs_hw_reset(encoder);
|
||||
sde_crtc_set_needs_hw_reset(crtc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user