Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3734d8f9 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Skip state change in idle check, if requested state is NONE



After scheduling the idle work for transitioning to either NAP or SLUMBER
it's possible that requested state can change to NONE if any new workload
comes before kgsl_idle_check is executed or it gets the device mutex.
If this happens, current code calls pwrctrl_change_state which fails as
this is not a valid transition. To prevent this, skip calling
pwrctrl_change_state if requested state is NONE.

Change-Id: Iae535c6e2a3230f9e7e210712990eeb405822f4f
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 92115b77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment