diff options
author | Rob Clark <robdclark@gmail.com> | 2013-09-03 07:12:03 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2013-09-10 13:56:59 -0400 |
commit | 26791c48e1dcdc17c6c952585806b0ecc493f939 (patch) | |
tree | 357733a7120949bfa636e3830f37a0bc4abfa12c /kernel/Kconfig.freezer | |
parent | bf6811f304795e7697985449ee870b29a8cbc6c7 (diff) |
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>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions