drm/nouveau: Fixup semaphores on pre-nv50 cards.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 30 Jan 2010 17:28:00 +0000 (18:28 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 02:48:56 +0000 (12:48 +1000)
commit139295b671ff4ccd904f2fa58e9dbc0fe99cc7fe
treece5b11250f24ee977ef6aa04b80a21418b1de22e
parent69c9700b544e496dc3ccf472a4f3a76dcf4abaf7
drm/nouveau: Fixup semaphores on pre-nv50 cards.

Apparently, they generate a PFIFO interrupt each time one of the
semaphore methods is executed if its ctxdma wasn't manually marked as
valid. This patch makes it flip the valid bit in response to the
DMA_SEMAPHORE method (which triggers the IRQ even for a valid ctxdma).

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