]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94ed99d7a71680590a36b2ceff91e4c928eefeb5
treece5b11250f24ee977ef6aa04b80a21418b1de22e
parent9e3c9f3c665b2bb0cde96ccb2b56e9da253856f1
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