mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
disp: msm: sde: fix panel early event blank notifier call
If trusted vm is disabled, the DRM_PANEL_EARLY_EVENT_BLANK notifier does not get called because of this touch early suspend does not happen which leads to continuous touch i2c transfer failure during suspend. Change-Id: I6abaacb9f8343eec24d5642f7eda9e7c410fd8b7 Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
This commit is contained in:
parent
1c5beba30c
commit
2103ce58b8
1 changed files with 3 additions and 1 deletions
|
|
@ -1165,10 +1165,12 @@ static void sde_kms_prepare_commit(struct msm_kms *kms,
|
|||
|
||||
vm_ops = sde_vm_get_ops(sde_kms);
|
||||
if (!vm_ops)
|
||||
goto end;
|
||||
goto end_vm;
|
||||
|
||||
if (vm_ops->vm_prepare_commit)
|
||||
vm_ops->vm_prepare_commit(sde_kms, state);
|
||||
|
||||
end_vm:
|
||||
_sde_kms_drm_check_dpms(state, DRM_PANEL_EARLY_EVENT_BLANK);
|
||||
end:
|
||||
SDE_ATRACE_END("prepare_commit");
|
||||
|
|
|
|||
Loading…
Reference in a new issue