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

Skip to content
Commit 3d42a450 authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: check kgsl state before accessing device registers



In some unfortunate scenarios it is possible that dispatcher is
scheduled when kgsl state is not awake. Consider the scenario
when GMU stop failed. During subsequent wake, GMU boot failed and
watchdog interrupt has been received. In the handler GPU fault is
set and dipatcher_do_fault() is triggered. Here device registers
are accessed and kgsl state is slumber as previous wake failed.
So check kgsl state before accessing any register.

Change-Id: Ibbc2366e34d3351af997dcd68f7e749ef2869e55
Signed-off-by: default avatarPuranam V G Tejaswi <pvgtejas@codeaurora.org>
parent 923d9dbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment