drm/nouveau: Ack the context switch interrupt before switching contexts.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 4 Aug 2010 02:41:55 +0000 (04:41 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 5 Aug 2010 22:34:50 +0000 (08:34 +1000)
commit308dcebac7cb9e6dcf8972a178c535b795952931
treec3a489b9c88631635f94b56a30a6c32002355c3f
parent3c9b25349e8fd6e29c4e8298dc08fb052f45a18b
drm/nouveau: Ack the context switch interrupt before switching contexts.

Leaving the IRQ unack'ed while switching contexts makes the switch
fail randomly on some nv1x.

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