msm: kgsl: Only wake GPU on multitouch events
Listening for EV_ABS events was too broad and causing the GPU to wake when no drawing was going to be performed. Then when there was actual touch input, the GPU wouldn't be woken again since no drawing was done the previous time the GPU was woken. Since other sensors can use EV_ABS input events, we need to update the event filter so that the GPU is only woken when there is an actual touch event. This can be determined when there is an EV_ABS event for ABS_MT_POSITION_X, ABS_MT_POSITION_Y, or ABS_MT_TRACKING_ID. Change-Id: I5a7596394fdc528978c44b5b3861dc1eebb5278a Signed-off-by:Patrick Auchter <auchter@motorola.com> Reviewed-on: http://gerrit.mot.com/687410 Tested-by:
Jira Key <jirakey@motorola.com> Reviewed-by:
Fred Fettinger <fettinge@motorola.com> Reviewed-by:
Stephen Rossbach <rossbach@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com> SLTApproved: Connie Zhao <czhao1@motorola.com> (cherry picked from commit a28b6af7b6522e2295f43776ffcde0bc2d874ace) # Conflicts: # drivers/gpu/msm/adreno.c
Loading
Please register or sign in to comment