]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/fifo/nv04: remove the loop from the interrupt handler
authorBen Skeggs <bskeggs@redhat.com>
Tue, 27 Jan 2015 05:09:39 +0000 (15:09 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Mar 2015 23:44:22 +0000 (09:44 +1000)
commit9b5ce9b76cde823032d063dc9d780c8f9da6061b
treef408ee3a6dc7116495e4d85344431f408d43d9ab
parentca4152f7c4019549e2ff1fbc073811cec61a5341
drm/nouveau/fifo/nv04: remove the loop from the interrupt handler

Complete bong hit (and not the last...), the hardware will reassert the
interrupt to PMC if it's necessary.

Also potentially harmful in the face of interrupts such as the non-stall
interrupt, which remain active in NV_PFIFO_INTR even when we don't care
about servicing it.

It appears (hopefully, fdo#87244), that under certain loads, the methods
may pass quickly enough to hit the "100 spins and kill PFIFO" thing that
we had going on.  Not ideal ;)

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