PowerHAL: Only write to SAMPLING_RATE_ONDEMAND when using Ondemand

Prevents E/CM PowerHAL(  559): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I186b9bddd9518315e6f24bbeef1d131b6223996e
qcom-common: Get rid of the custom recovery graphics

 * No longer needed.

Change-Id: I6c8cafe520b3de79397a032161501b767aa34106
Merge "qcom-common: Get rid of the custom recovery graphics" into jb-mr1
power: Use macros instead of string literals.

Replace multiple instances of string literals with
macros so as to minimize the risk of typos.

	* Also fix up loggin for ondemand sysfs_write (ALOGW->ALOGV)

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I852ad370c2e371bb66e754ecc92e60f38c501047
qcom-common: add support define for latest adreno driver

Change-Id: Ic0c0b735c831a73cb3a1f87d19c22d9249d1527f
qcom-common: Relocate firmware scripts

 * Need to be platform specific.

Change-Id: I3ca5a6eb595edb02752e6ee132c978c33414b2f6
qcom-common: Updates for msm8660

 * Add msm8660 to platforms list
 * Enable CFQ iosched and INTERACTIVE cpufreq gov

Change-Id: Ie26f7604a397943a090046e26ebe636f36debf37
qcom-common: Display changes for msm8660

 * Use the mako display driver since 4-layer is not compatible with 8660.

Change-Id: I436a58cfc06df34f374d7d77cf78b26344a97569
qcom-common: Move debug.mdpcomp.maxlayer setting

Change-Id: Ife113049c4508ee4340d7b241fdd8fe8420c8bab
qcom-common: Don't set ARCH_VARIANT here

 * Set it in the SoC specific configuration since this is shared now.

Change-Id: Ied597e36d8c246c15871e8480eb33294c74e8bba
qcom: Enable Retention sleep mode on boot

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
qcom-common: power: Tuning and cleanups

 * Tune the governor for better power usage and interactivity
 * Reset tuning parameters if governor changes
 * Cleanup

 * Use our macros instead of string literals

Change-Id: I56f5dcc7f15e5dfbcc38338d515fd41d04662ab1
qcom-common: use caf display variant on msm8660

Change-Id: I0feefb849ddf0dbae8599b9324b8b79a39cf18c3
qcom-common: Build libdashplayer

Change-Id: Icd1d844bf5513a4fa3fda8fe23ca690cd0e11eca
only turn off accept_ra_defrtr for rmnet interfaces

accept_ra_defrtr=0 on wifi interfaces breaks IPv6 for networks using RA.  For
wifi networks, the kernel sets up the default route as well as the interface
address (in other words: with defrtr=0, wifi interfaces get an address but no
default route).  This is not the case for the rmnet (ril) interfaces, as
Samsung's ril libraries configure the default IPv6 route after setting up the
PDP.
qcom-common: Graphics cleanup

 * Move egl.cfg up to board-specific dirs
 * Remove junk

Change-Id: I40d5e7fe5e47fb4f7a8384c9ca6f54cd45c0f325
qcom-common: Set property after modem links are created

 * Needed for scripts to trigger on.

Change-Id: I930a981151f1001def5acae689d2c26b7d8a7d6d
qcom-common: msm8960: set interactive permissions for PowerHAL

Change-Id: I58e8481021dbed68ea1884cc31281dc1a3f6c32e
qcom-common: Enable Krait retention

 * Enable new Krait retention mode on 3.4 kernel
 * Also online all CPUs at boot

Change-Id: I204a36734796cb2b6d1c465b03b7637c4d25948b
msm8960: Switch default iosched to ROW

 * Our MSM8960s have full support for Qualcomm's new ROW IO scheduler.
 * It provides superior performance for our use case. Enable it.

Change-Id: I4b7e7362d3128538755f25d063574f868e30c997