summaryrefslogtreecommitdiff
path: root/kernel/uid16.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-09-03 07:12:03 -0400
committerRob Clark <robdclark@gmail.com>2013-09-10 13:56:59 -0400
commit26791c48e1dcdc17c6c952585806b0ecc493f939 (patch)
tree357733a7120949bfa636e3830f37a0bc4abfa12c /kernel/uid16.c
parentbf6811f304795e7697985449ee870b29a8cbc6c7 (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/uid16.c')
0 files changed, 0 insertions, 0 deletions