]> git.baikalelectronics.ru Git - kernel.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)
commit0092f46cc15e439dbb766fd76e5757ba57889094
treed4771607c07dc82dd963221788f5338024a44834
parent57b51486f525c8d53dbad011ebbbc3cbc73f9987
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