msm: kgsl: update GPU busy statistics
In case of GPU idle (NAP), schedule DCVS call to obtain updated GPU load for correct GPU frequency scaling. Change-Id: Ifcf05ffde0a054839e51d3f8173b8449fe177aa0 CRs-Fixed: 1050000 Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
This commit is contained in:
parent
3336c17fe4
commit
1c3699f9dc
1 changed files with 3 additions and 1 deletions
|
@ -2616,8 +2616,10 @@ void kgsl_active_count_put(struct kgsl_device *device)
|
||||||
device->requested_state == KGSL_STATE_NONE) {
|
device->requested_state == KGSL_STATE_NONE) {
|
||||||
kgsl_pwrctrl_request_state(device, KGSL_STATE_NAP);
|
kgsl_pwrctrl_request_state(device, KGSL_STATE_NAP);
|
||||||
kgsl_schedule_work(&device->idle_check_ws);
|
kgsl_schedule_work(&device->idle_check_ws);
|
||||||
} else if (!nap_on)
|
} else if (!nap_on) {
|
||||||
kgsl_pwrscale_update_stats(device);
|
kgsl_pwrscale_update_stats(device);
|
||||||
|
kgsl_pwrscale_update(device);
|
||||||
|
}
|
||||||
|
|
||||||
mod_timer(&device->idle_timer,
|
mod_timer(&device->idle_timer,
|
||||||
jiffies + device->pwrctrl.interval_timeout);
|
jiffies + device->pwrctrl.interval_timeout);
|
||||||
|
|
Loading…
Add table
Reference in a new issue