adreno: update drivers from CAF

Signed-off-by: helicopter88 <helicopter88@iof303.pnap.ioflood.com>

Conflicts:

	drivers/gpu/msm/adreno.c
	drivers/gpu/msm/adreno_a2xx.c
	drivers/gpu/msm/adreno_pm4types.h
	drivers/gpu/msm/adreno_ringbuffer.c
	drivers/gpu/msm/adreno_ringbuffer.h

Change-Id: I073f2438f20660f1384fb3da83d9b18b954b699e
kgsl: update drivers from CAF

Signed-off-by: helicopter88 <helicopter88@iof303.pnap.ioflood.com>

Conflicts:

	drivers/gpu/msm/kgsl.c
	drivers/gpu/msm/kgsl_cffdump.c
	drivers/gpu/msm/kgsl_device.h
	drivers/gpu/msm/kgsl_drm.c
	drivers/gpu/msm/kgsl_gpummu.h
	drivers/gpu/msm/kgsl_mmu.h

Change-Id: I01f370bb53789a6023715aa16db3d7c4ac8e18c8
remove arch/arm/mach-msm/sio-iosched.c

Conflicts:

	block/sio-iosched.c

Change-Id: Ieb8932ad96a796c94f9d3eac6cb3a7fb95b6b02f
added SIO and V(R) from sultan-kernel-bruce-linaro repo
pyramid: silence defconfig warnings

Change-Id: I2b1d9c37d41d0db0e6269731380a762daa33834d
Revert "Fix up GPU user-configurable OC (2/2)"

This reverts commit e14b3e9b881e2af59c4affcc1a9c90d155a36f4f.
Revert "Fix up CPU OC (2/2)"

This reverts commit bb774b11f0abe8273fec96c774dba94481d471c1.
Build VR IO schedule and allow it to become default
Revert "Revert "ext4: use atomic64_t for the per-flexbg free_clusters count""

This reverts commit cb74805ca092b7e615bf952e9eea985c923b9462.
ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix

Replace C division operators with div64_u64 for divides introduced in:
commit 503f4bdcc078e7abee273a85ce322de81b18a224
ext4: use atomic64_t for the per-flexbg free_clusters count

Specific to the 3.0-stable backport of the upstream patch.

Change-Id: Id10180ed16f54f58fc18531092e88f52fc6de31c
Reviewed-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
NFS: fix printf type compiler warning

Change-Id: I4a7269a2b60dbe05ecd724abb7176c40f3f2baae
Squash s2w commits

sweep2unlock: Add sweep2unlock v0.1

Thanks to Ezekeel's gladoskernel source which helped me
a lot in understanding how to emulate a virtual powerkey press.
The powerkey emulation is largely inspired by his coding for
Touch2Wake (Galaxy Nexus).

sweep2unlock: check if screen is offline

sweep2unlock: remove lck_reverse & checks

sweep2unlock: change sleep value, correct typo, add comment

sweep2unlock: change conditions

Don't assume unlock/lock is triggered if only one
condition is met. The new implementation includes
checking if 3 barriers are hit before triggering
the lock/unlock.
This assures only intentional triggering.
Also only allow one trigger as long as the finger
still touches the screen. Reset and allow another
trigger if the all fingers are lifted.

sweep2unlock: change barriers for screenoff trigger to avoid taking loads of screenshots :D

sweep2unlock: set scr_suspended early so that additional locks/unlocks are avoided

sweep2unlock: don't allow jumping through all barriers without having hit them

sweep2unlock: use an additional variable to determine if the barrier is already breached

sweep2unlock: change values to avoid taking screenshots when touching 'home'

sweep2unlock: break the loop if triggered, decrease sleep delay, change values to avoid screenshots when fast sweeping #2

sweep2unlock: Change barriers and homebutton back to original values.

The screenshot function from the HTC framework should
be disabled to avoid taking screenshots. This is the
proper way of doing things. We still have the AOSP
screenshot variant which can be accessed by pressing
Vol.DOWN + POWER at the same time and holding them for
about one second.

sweep2unlock: restructure early suspend / late resume hack

sweep2unlock: relocate main code, reformat it, change debug echo, slight 3rd barrier adjustment

sweep2unlock: use wakelocks

This solves not triggering irqs while the screen is offline.
It has to show how that affects battery life.

sweep2wake: rename sweep2unlock

sweep2wake: 'fat finger' fix ;)

sweep2wake: Add Kconfig entry

sweep2wake: redesign wakelocks

Only wakelock if necessary and release the wakelock immediately if not.

sweep2wake: allow the touchscreen irq to wake the phone

sweep2wake: remove wakelocks from the code

Since we now have a completely interrupt based wake up call
these wakelocks are obsolete so remove them.

sweep2wake: fix unresponsive touchscreen (depends on hw revision)

sweep2wake: redefine barriers for easier (un)locks

sweep2wake: add debug info

sweep2wake: fix typo, no need to enable something that is already enabled

sweep2wake: increase simulated powerkey press length

sweep2wake: Don't set suspended state if screen is not suspended

sweep2wake: add cmdline interface (on/off)

sweep2wake: reenable all suspend/resume commands if s2w_switch == false

cmdline_s2w: add debug output

sweep2wake: restructure ifdefs to gain readability

sweep2wake: always set suspend=1, reset baseline

If this is not set the baseline will not be reset
when the device comes from sleep, which results
in an unresponsive touchscreen. (Similiar to a
gounding issue)

sweep2wake: get button-backlight device

sweep2wake: enable dynamic button_backlight

If the screen is offline and you touch the home button (aka start a
sweep2unlock) the capacitive buttons will light up to guide your path.
They will be shutdown again as soon as you lift your finger.

sweep2wake: fix unlock start position

sweep2wake: Only reset the baseline if the screen is suspended, fix for old touchcontroller hwrev

sweep2wake: on resume suspend our touch controller for a short while
This allows resume to wake it up the right way a bit further down.
This is a HW revision fix, it is not needed for all touch controllers!

Sadly this breaks the sweep2unlock gesture.

sweep2wake: revert resetting the baseline

sweep2wake: button_backlight: fix backlight staying on

sweep2wake: fix led flickering as far as possible for now

sweep2wake: fix button_backlight being activated when sweeping to lock the phone

sweep2wake: increase fake suspend time, hw revision fix

sweep2wake: fix incorrect debug message

sweep2wake: add option to disable the button backlight control

input/touchscreen: cy8c: fix multitouch on certain hw revisions

sweep2wake: add sysfs-interface

sweep2wake: sysfs: no need to set the same value again :)

Signed-off-by: showp1984 <showp1984@gmail.com>

sweep2wake: sysfs: add missing ifdefs

Signed-off-by: showp1984 <showp1984@gmail.com>
LED: remove duplicate function
Revert "pyramid: fix building kernel with ROM"

This reverts commit 0a42929f1a594334029221a1976fb00fcff47686.
LED: fix compile
vidc: merge a few changes from CAF jb-chocolote MR1

Change-Id: I13de9478b6c7544d60c16abe167e1affc33c8f1a
Update HTC baterry driver

code taken from here : https://github.com/sultanxda/sultan-kernel-faux-seb-ION/commit/ba07546e9306d785b27f83f166074bf7bf4b299c#diff-9

Change-Id: I30c2eb1aece56d259cfc9b28ff3d9b2bf9f938bc
I/O: switch readahead back to default (128kb)

 seems to give best real-world results

Change-Id: Ic6fa592d10a6e2032192aadcba180b7c74a3822a
CPU: switch back to old mpdecision, new version was causing wake up issues

Change-Id: I3470b8415dbd4914b719343c0326ca6efaaffe54