hammerhead: Enable new PM architecture

 * Update mode paths in sysfs
 * Configure devfreq bandwidth monitor
 * Disable userspace input boost
 * Reenable cpu-boost driver
 * Fix thermal-engine.conf for perf compat
 * Enable full idle power collapse on all cores
 * And don't let mpdecision mess with any of it

Change-Id: I26ada15fa3bec5eefec7f560824e4e27413e078c
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	init.hammerhead.rc
Revert "AUX Cable + Onboard Mic Fix"

This reverts commit b8b7313edd6247310b9e347e27e2b3dfe53fbf04.
hammerhead: Enable ZSL mode for camera

 * With recent kernel changes, we no longer crash when letting the
   preview run during continuous shots. Enjoy rapid-fire shooting.

Change-Id: Ib57869f185166539d761fd5a2766c586501023da
Revert "Revert "hammerhead: Enable deep buffer output as primary""

 * This is working as intended now. Tested with Hangouts and other apps.
 * The purpose of this change is so that media playback uses the deep
   buffer path instead of the low-latency path, which uses much more
   power.

This reverts commit 22dde6a88e7b5453f39d96a23c65a3cd5d4dc085.

Change-Id: I476dd429be4b7c74acd888169004ed89081597c7
hammerhead: Add offload properties

 * Set fragment size (same as default)
 * Enable gapless playback with offloaded streams
 * Enable offloading for AV (but not streaming AV!)

Change-Id: I1b0f8115bc880bd89f5a0c8ed13e4b54d38e0867
hammerhead: Enable new mixer for offload

Change-Id: I21620d3a2612c992dc70a783f20aa8b73e8c9073
hh: Tune interactive governor

 * Enable io_is_busy
 * Decrease hispeed_freq to avoid ramping voltage.
 * Match input_boost_freq to hispeed_freq for same reason
 * Lower sync_threshold to reduce jank from hotplug

 * No performance differences are apparent, and power draw should
   be lower in this configuration.

Change-Id: I68245da6008a76646e3936c8ce75806f1ffea0a4
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	init.hammerhead.rc
hh: Enable qrngd

 * Improves boot time

Change-Id: I524d4fb248b0103543703eae923267b0c410b3ef
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	init.hammerhead.rc
hh: Disable gapless by default

 * Audio driver will enable as necessary. Leaving it on always
   causes issues in some apps like Pandora.

Change-Id: I59a732577c3a4a61c8949498101b4b5bae0998ce
Make internal storage as primary

Change-Id: I98ec219cd68d1ce5b081a1e8172a3b14768dbff7
Signed-off-by: iceandfire <arhamjamal@gmail.com>