PM / devfreq: Fix simple_ondemand crashing

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Fix show available freqs

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Add conservative governor

A GPU governor is not rocket science. This one gets the job done pretty
smoothly while complying with devfreq framework rules.
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
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: Fixup device transition and usage statistics

Ignore bogus data during slumber in transition and usage stats that
rendered the output basically useless. Also fix the reported GPU
frequency.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Adapt devfreq_get_freq_level to cpubw requirements

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "PM: devfreq: Adapt devfreq_get_freq_level to cpubw requirements"

This reverts commit e14f5bfc127a8c89535e235779b9cab02bffd4dc.
mako_hotplug: we can live with 80% load threshold.

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