drm/nouveau: fix a race condition in nouveau_dma_wait()
authorBen Skeggs <bskeggs@redhat.com>
Fri, 15 Jan 2010 02:08:57 +0000 (12:08 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 17 Jan 2010 23:55:48 +0000 (09:55 +1000)
commitba59953d281747b1f7518a60f0ba8ff671cd0d65
tree6019422fd736debff175e88cd57ee300a8532463
parent12f735b79f0ad63964dedabed3eee8a581bb66a5
drm/nouveau: fix a race condition in nouveau_dma_wait()

Can be triggered easily on certain cards (NV46 and NV50 of mine) by
running "dmesg", the DRM's channel will lockup.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.c