commit | c8b48224297244db4076e26e6443c15fef008d8e | [log] [tgz] |
---|---|---|
author | Steve Kondik <shade@chemlab.org> | Mon May 19 17:26:34 2014 -0700 |
committer | Steve Kondik <shade@chemlab.org> | Mon May 19 22:44:40 2014 -0700 |
tree | f98aac562c46894ea94ba9651f898ca61c08f8be | |
parent | 0b8b48089d44c71db0402927b2c0299a608009c3 [diff] |
power: Add support for SET_PROFILE hints * Add support for system performance profiles. * Uses mpctl to configure the CPUs in the appropriate modes. * PERFORMANCE = all cores at max * POWER_SAVE = max two cores at non-turbo voltage * If a custom profile is set, don't honor any other hints * Clean up the code and firm up the locking. Change-Id: Ie6acada805780c9ae6e6bc2002843aef638ca63b