Commit ea892218 authored by Sidath Senanayake's avatar Sidath Senanayake
Browse files

mali_kbase: platform: power: Correctly track GPU state



Ensure that the GPU top level power domain does not power down every
time the GPU goes idle so that GPU state is not lost. This allows us
to save cycles when there is new GPU work by not requiring the
core Mali KMD to regenerate state on each idle->active transition.

In order to do this, we track both GPU power domains and only power
down the GPU top level power domain after the GPU has remained idle
for a configurable duration. This duration is specified by the
`gpu_pm_autosuspend_delay` property in the GPU's device tree entry.

Bug: 191136938
Signed-off-by: default avatarSidath Senanayake <sidaths@google.com>
Change-Id: I83f3d257638d2b18802dab725af93bab42fac856
parent c9ea4611
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment