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

Skip to content
Commit 06670404 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Reset ringbuffer pointers if CP INIT fails



This helps to avoid a corner case where preemption path sees the mismatch
in rptr and wptr, and misinterprets it as if a real cmdbatch was submitted,
and tries to trigger preemption on a power collapsed device, which then
leads to NoC errors.

Change-Id: I98fd98fb0b2b01fc7fd997d2dbe44ea5109d4bea
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent 66651493
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