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

Skip to content
Commit d61c196f authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Raghu Ananya Arabolu
Browse files

msm: kgsl: Correct snapshot over-write policy



Since non-gmu days, we have always kept the first gpu
snapshot around, until it was retrieved. Let's reinstate
that first i.e. never over-write existing snapshot with
a gpu fault.

Secondly, lets talk about gmu snapshot. if we want to
over-write a previously recovered fault with new gmu snapshot,
use the existing "prioritize_unrecoverable" sysfs knob.
By default, set it to false to mimic gpu fault policy of
keeping the first snapshot around.

Also, set the snapshot recovery bit as soon as we are past a
successful CP_INIT. This ensures that snapshot recovery bit is
set for a fault for which we didn't exercise dispatcher
based recovery.

Change-Id: Idae83344e3f70e451cd7cb036d6a0dcb76182172
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 28dc3885
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