Revert "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."

This reverts commit d021e9934ae56264ef64012a46affd882a7a6b53.
Revert "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."

This reverts commit 20b6c26eb5186533a297cb637e978d48e67cbe06.
Revert "KGSL: Simple Governor: fix minor logic issue"

This reverts commit 658e6a6d2530bce5a2c120285e44b075f6dda8b9.
Revert "KGSL: simple governor: expose tunables to sysfs interface via module_param"

This reverts commit 7186170fd0d0b692a853f985d5ef2094748323b6.
Revert "KGSL: make simple govenor a selectable option, co-exist with ondemand"

This reverts commit 27eaa1199c8e1e6694c84029aeae3613a90cf2d2.
Enable shit

Signed-off-by: frap129 <frap129@gmail.com>
Revert "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."

This reverts commit be4729522c55653b88f2187d02fc4b88774b81ed.
Revert "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."

This reverts commit 79973e6ee37cc7f0154168ea71c1b2a8f1952f5e.
Revert "KGSL: Simple Governor: fix minor logic issue"

This reverts commit dabfa3535643ae0ea4ca212a9a311921b240762e.
Revert "KGSL: simple governor: expose tunables to sysfs interface via module_param"

This reverts commit d6afdd65e8b37a93ca528e963d9adf0651f729f3.
Fix build

Signed-off-by: frap129 <frap129@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>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:

	drivers/gpu/msm/kgsl_pwrscale_trustzone.c

Conflicts:
	drivers/gpu/msm/Kconfig
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
KGSL: make simple govenor a selectable option, co-exist with ondemand

also removed some hardcoded values

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c

Conflicts:
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
KGSL: simple governor: expose tunables to sysfs interface via module_param

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

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@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.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
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.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Frandom
FIOPS Scheduler

Conflicts:
	block/Makefile
Add Westwood