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

Skip to content
Commit bf70c093 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Add an helper function to clear the GPU fault after reset



Commit 3f44c3835ed073d02fa08b99a4457c6fadf4606d allowed for multiple
GPU faults to be set at the same time, but in doing so it changed
the behavior of adreno_set_gpu_fault() so that one can no longer
just pass in 0 to clear the fault status after GPU reset.  As a
result faults that occured after the inital fault that triggered
recovery would stay recorded in the driver and cause the GPU
start functions to fail.

Add adreno_clear_gpu_fault() to explicitly clear the fault after
GPU reset.

Change-Id: Ic0dedbad5fcd64f5d334a68731e40cc0dd86b79c
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 0c186090
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