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
4 files changed
tree: f98aac562c46894ea94ba9651f898ca61c08f8be
  1. cryptfs_hw/
  2. dtbtool/
  3. init/
  4. power/
  5. Android.mk
  6. README.md
README.md

Generic common qcom configuration tools

Copyright 2014 - The CyanogenMod Project