drm/nouveau: Take fence spinlock in nouveau_fence_channel_fini().
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 18 Oct 2010 01:57:19 +0000 (03:57 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:06:47 +0000 (15:06 +1000)
commit889fa93dc0ab94b9255e9dd8e2036facfee5485e
tree97a40214a17ede19159ab60ccfa5949c5805c3a7
parent2b478addc0bfaaf5031e36ee166c9457ceae628c
drm/nouveau: Take fence spinlock in nouveau_fence_channel_fini().

Without it there's a potential race with nouveau_fence_update().

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