mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
DLKM/fps:optimise focal driver
focal modify event interface to send screen status Change-Id: I85243ca523276e1bd53ca89807078aae3d1aaf8b Signed-off-by: chenlj2 <chenlj2@motorola.com> Reviewed-on: https://gerrit.mot.com/2173256 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yan Zhang <zhangy26@motorola.com> Reviewed-by: Tao Sun <suntao2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
d4deb70169
commit
fde09f4c60
1 changed files with 5 additions and 3 deletions
|
|
@ -359,9 +359,11 @@ static int ff_ctl_fb_notifier_callback(struct notifier_block *nb, unsigned long
|
|||
uevent_env[0] = "FF_SCREEN_??";
|
||||
break;
|
||||
}
|
||||
uevent_env[1] = NULL;
|
||||
kill_fasync(&g_context->async_queue, SIGIO, POLL_IN);
|
||||
FF_LOGD("chenlj2 leave.%s",uevent_env[0]);
|
||||
if(blank == DRM_PANEL_BLANK_UNBLANK || blank== DRM_PANEL_BLANK_POWERDOWN) {
|
||||
uevent_env[1] = NULL;
|
||||
kobject_uevent_env(&g_context->miscdev.this_device->kobj, KOBJ_CHANGE, uevent_env);
|
||||
FF_LOGD("'%s' leave %s.", __func__,uevent_env[0] );
|
||||
}
|
||||
#else /* CONFIG_DRM_PANEL_NOTIFICATIONS */
|
||||
#if defined(CONFIG_PANEL_NOTIFICATIONS)
|
||||
char *uevent_env[2];
|
||||
|
|
|
|||
Loading…
Reference in a new issue