OSDN Git Service

drm/nouveau: handle fifo pusher errors better
authorBen Skeggs <bskeggs@redhat.com>
Wed, 8 Sep 2010 05:40:30 +0000 (15:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:26:02 +0000 (16:26 +1000)
commite071f8cd714261cb4f5ce7104eb54b16b2bbb0cf
tree425725e223b6162062b9ac9409107b0b04be7cab
parente1429b4c3c79512f0e1a44d9d895c1db52b8c42f
drm/nouveau: handle fifo pusher errors better

The most important part of this change is that we now instruct PFIFO to
drop all pending fetches, rather than attempting to skip a single dword
and hope that things would magically sort themselves out - they usually
don't, and we end up with PFIFO being completely hung.

This commit also adds somewhat more useful logging when these exceptions
occur.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_irq.c