diff options
author | Rajesh Kemisetti <rajeshk@codeaurora.org> | 2016-04-14 15:34:51 +0530 |
---|---|---|
committer | Carter Cooper <ccooper@codeaurora.org> | 2016-07-20 15:19:32 -0600 |
commit | 0ff59e62624886a564f582b7e370c85d107b26ce (patch) | |
tree | e34e1a314bb2c5fc49e63e42410f41ec4760d9a9 /drivers/gpu/msm/adreno_ringbuffer.c | |
parent | 9e4b3ba4afcff08bce320513610955391ab95806 (diff) |
msm: kgsl: Stop fault_timer before reading fault registers
Currently adreno_ft_regs_val is getting updated at the time of
first submission or on the expiry of fault_timer.
If the fault_timer expires exactly at the time of inflight becomes 0
and there is an immediate submission for which GPU finishes the work
within short time. Then there is a chance to read the fault registers
in fault_detect_read() and fault_detect_read_compare() with less
time gap and declare it as a fault.
Stop the timer before reading fault registers and start it again.
CRs-Fixed: 1043478
Change-Id: Ib35104adf7b3618f94c6adf7fab531abffea3f76
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Diffstat (limited to 'drivers/gpu/msm/adreno_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions