]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/nouveau/fifo/g84-: ack non-stall interrupt before handling it
authorBen Skeggs <bskeggs@redhat.com>
Mon, 1 Dec 2014 01:44:27 +0000 (11:44 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:33:22 +0000 (15:33 +1000)
commit19a10828814aa3ba483301b416b27f94330e0c80
treed4771607c07dc82dd963221788f5338024a44834
parenteae7382bc5547391e72f8cde83f5e2be9c359d5b
drm/nouveau/fifo/g84-: ack non-stall interrupt before handling it

Closes a very unlikely race that can occur if another NonStallInterrupt
method passes between checking fences and acking the previous interrupt.

With this change, the interrupt will re-fire under such conditions.

Tested-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c