kgsl: Implement conservative scaling policy

This behaves similarly to the conservative cpufreq governor,
which is similar to how most Mali GPU scaling algorithms behave.

The "trustzone" policy that is default relies on an undocumented
black box to make scaling decisions.

How to enable:
echo conservative > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy

Conservative attr group:
/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy_config/conservative

Polling interval (10-1000):
/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy_config/conservative/polling_interval

Enable stats printing (causes microlags on low polling intervals):
echo 1 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy_config/conservative/print_stats

NOTE:
- perms are set to 666 for testing purposes

Change-Id: I9d854a73981515fc9850104302804928b04c4687
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
kgsl: conservative: change perms to 664

Change-Id: Ie023a6b0f3bf51c4c59030a79ae4ebbbce08201c
KGSL: Add a simple GPU governor for Adreno xxx GPU series

initial coding for a Simple GPU governor based on my own work 2 years ago
from Sensation GB kernel commit: c1ea8f6

Signed-off-by: Paul Reioux <reioux@gmail.com>
KGSL: make simple govenor a selectable option, co-exist with ondemand

also removed some hardcoded values

Signed-off-by: Paul Reioux <reioux@gmail.com>
KGSL: simple governor: expose tunables to sysfs interface via module_param

Signed-off-by: Paul Reioux <reioux@gmail.com>
KGSL: Simple Governor: fix minor logic issue

Signed-off-by: Paul Reioux <reioux@gmail.com>
autosmp: By default do not disable both CPU cores when the screen is off

Our CPU is too weak to process music with only 1 core without stuttering, so when the screen turns off there is a lot of stuttering. Therefore, use both CPU cores when the screen is off.
Revert "kgsl: conservative: change perms to 664"

This reverts commit 5732c47b009e7dea5fb43251dd5f75f85e28af91.
Revert "kgsl: Implement conservative scaling policy"

This reverts commit b275ab21cd56eabe538eafb1fd4582b9006dca85.
drivers: usb: gadget: Backport from caf-jb_mr1_chocolate

Conflicts:
	arch/arm/mach-msm/include/mach/sdio_dmux.h
	arch/arm/mach-msm/include/mach/usb_bam.h
	arch/arm/mach-msm/include/mach/usb_bridge.h
	arch/arm/mach-msm/include/mach/usb_gadget_xport.h
	include/linux/usb/ccid_desc.h
sultan-aosp_defconfig: Rename to sultan_defconfig
sultan_defconfig: Update and r43