msm: kgsl: set GMU fault when fence does not come to allow mode
If fence does not come to allow mode even after waiting
for some time, we just return from adreno_irq_handler().
If GMU is in bad state and stuck, the fence may never
come to allow mode and we can never serve the interrupt.
The handler will be called multiple times and we can hog
the CPU. So if fence does not come to allow mode even
after waiting for sufficient time, consider GMU to be in
bad state. Set GMU fault and schedule dispatcher to
facilitate recovery.
Change-Id: I7b07c8c6021ee508c511d23351175019b6b1f778
Signed-off-by:
Puranam V G Tejaswi <pvgtejas@codeaurora.org>
Loading
Please register or sign in to comment