]> 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)
commit1a6cec11c8978e98f7d484dd4266c1653ae4e2f6
treef408ee3a6dc7116495e4d85344431f408d43d9ab
parentb2db4f295a4c92b4f99d6f48e70c65e9661d581a
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