PM: devfreq: Add some conservativeness

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Always reflect a change of polling interval

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: conservative: Return 0 if GPU just started

Bailing out early is perfectly fine, so do not trigger an error in
update_devfreq.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Add sysfs nodes for devfreq governors

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: fix merge derp.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Fix unused min var
PM: devfreq: Report correct GPU frequency in sysfs

Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: Export device state to devfreq

Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: set conservative governor as default

Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: Use high priority workqueue

It does not make sense to run kgsl on high and devfreq on regular
priority.

Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: Add a new target flag for the performance governor

The new flag for the devfreq profile->target() function is used
by the performance governor to notify the driver that the device
should wakeup on the max frequency.

Change-Id: I91c2d649177bdd1841a087a2125d1cdbc979f5c1
Signed-off-by: Vladimir Razgulin <vrazguli@codeaurora.org>
Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: Make target flags unique

Overlapping target flags cause both to be set
rather than the intended one.  Make sure the flags
have different values.

Change-Id: Ia4fb9566be7284e57e67be78c32de05cbd11d6f8
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: Define tunables with a static scope

Signed-off-by: ptmr3 <ptmr323@gmail.com>
PM: devfreq: update to the latest CAF source