mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
disp: msm: dsi: clear the panel esd_recovery_pending in power on commit
Currently the panel esd_recovery_pending flag is cleared for every mode set. The ESD recovery completes only after the suspend and resume. Clear the flag only during power on commit. Change-Id: I97e370feba0aad34558e4675168b4bcb7f5901ca Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
This commit is contained in:
parent
d5dd61b011
commit
31a6cf6c8b
1 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,8 @@ static void dsi_bridge_pre_enable(struct drm_bridge *bridge)
|
|||
return;
|
||||
}
|
||||
|
||||
atomic_set(&c_bridge->display->panel->esd_recovery_pending, 0);
|
||||
if (bridge->encoder->crtc->state->active_changed)
|
||||
atomic_set(&c_bridge->display->panel->esd_recovery_pending, 0);
|
||||
|
||||
/* By this point mode should have been validated through mode_fixup */
|
||||
rc = dsi_display_set_mode(c_bridge->display,
|
||||
|
|
|
|||
Loading…
Reference in a new issue