This adds support for the EXPENSIVE_RENDERING power hint.
BUG: 110112323
Test: adb shell cat /sys/class/kgsl/kgsl-3d0/devfreq/cur_freq
Verified GPU frequency reset by adb shell pkill surfaceflinger and system_server
Change-Id: Ia1f6e99b67c5e88b610412ad30f152d241095a48
Merged-In: Ia1f6e99b67c5e88b610412ad30f152d241095a48
PowerHAL should remember the long-lasting hint when it (re)starts,
in case it crashed/killed. Also when clint crashed, the long-lasting
hint should be cancelled.
This CL adds a property for PowerHAL to store its long-lasting hint,
and uses init to clear the property and restart PowerHAL when client
died.
Bug: 67648152
Test: kill cameraHAL, powerHAL, system-server
Change-Id: I6b2cae3c2228da00bcb97a3befacf9ab045eeba8