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:
@@ -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");
|
||||
|
مرجع در شماره جدید
Block a user