linux/drivers/gpu/drm/msm/adreno
Rob Clark 26791c48e1 drm/msm: hangcheck harder
If gpu locks up with the rptr shortly beyond the wrap-around point in
the ringbuffer, because the rptr was not reset (but wptr is, by virtue
of resetting rb->cur), we could end up in a scenario where we think
there is not enough space in the ringbuffer for the next cmds.  And
since the CP won't reset rptr until after processing an IB, this leaves
things in a sort of deadlock.

So reset rptr too.  And a bit more spiffing up of hangcheck to make
things easier to debug.

Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-09-10 13:56:59 -04:00
..
a2xx.xml.h
a3xx_gpu.c drm/msm: add basic hangcheck/recovery mechanism 2013-08-24 14:57:19 -04:00
a3xx_gpu.h
a3xx.xml.h
adreno_common.xml.h
adreno_gpu.c drm/msm: hangcheck harder 2013-09-10 13:56:59 -04:00
adreno_gpu.h drm/msm: add basic hangcheck/recovery mechanism 2013-08-24 14:57:19 -04:00
adreno_pm4.xml.h