msm: kgsl: Don't wake up gpu on kgsl_ioctl calls if not necessary

The current code wakes up gpu on all kgsl_ioctl() calls that need
to hold device->mutex. However there are some kgsl_ioctl() calls that
don't need that. That fix introduces a bit of info to mark such
functions, and don't wake up gpu calling them to save some power.

CRs-Fixed: 438932
Change-Id: Iee3db5401bdad1808a09d104e0daecfc3716cbb4
Signed-off-by: Vladimir Razgulin <vrazguli@codeaurora.org>
2 files changed