Added CPUfreq governor 'wheatley'

Thanks to r_data for taking the time to fix all the build errors for the Nexus 4.

Change-Id: Iab04e822748d31c1253d3f8446333c024adf5fd1
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Fix up more code for the Wheatley governor

Change-Id: Ic66e5ef967c0b7675f0e05dbcdc392121e1e715c
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Added Conservative and Wheatley governors

Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
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: c1ea8f64167270d67915b4d4fb00910b1c0f513f

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>
KGSL: Simple Governor: some styling changes, early returns instead of assigning a val and returning in the end of the function call and change the copyright/author from the middle of the file to the header.

Patchset 3: Lets keep OnDemand as default for now

Change-Id: Iffcb404e197e830aeb1379c842ba8d4a94a6bd88
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
KGSL: Simple Governor: so I kinda butchered in a good way of course the original code from faux, but the simplicity is still here. Added an history so that we can track the average do that the frequency scaling is much more proporcional to the actual GPU load rather than having is ramp up every now and then due to spurious load spike. Also remove two useless ifs.

Change-Id: I0c07cf3a01deba96ebc9a1339bc0c31e575b324e
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Alpha 4

Signed-off-by: Josue Rivera <prbassplayer@gmail.com>