Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[display] Add automatic cpu governor policy
MCE has cpu scaling governor feature that was meant to be used for activating performance governor during bootup / shutdown and otherwise select interactive governor. It was never taken in active use as is was found to interfere with more advanced already existing android side services. However - after fixing some obvious faults - having such feature available might be useful for some device ports. Make it possible to configure the following governor modes: - performance - maximum performance - interactive - high performance - inactive - medium performance - powersave - low performance Implement policy that switches active governor based on device state. Utilize a run-time setting for: - disabling the whole feature - explicitly selecting one of the modes - automatically switching between the modes depending on device state Also provide: - an annotated example configuration file - python script for generating skeleton configuration files Signed-off-by: Simo Piiroinen <[email protected]>
- Loading branch information