msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input

Waking the GPU upon touch wastes power when the screen is being touched
in a way that does not induce animation or any actual need for GPU usage.
Instead of preemptively waking the GPU on touch input, wake it up upon
receiving a IOCTL_KGSL_GPU_COMMAND ioctl since it is a sign that the GPU
will soon be needed.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: I6387083562578b229ea0913b5b2fa6562d4a85e9
fourteen
Sultan Alsawaf 4 years ago committed by Jenna
parent 2ceb14b2f1
commit a05ef4fb9a

Diff Content Not Available