drm/nv50: delete ramfc object after disabling fifo, not before
authorMaarten Maathuis <madman2003@gmail.com>
Mon, 1 Feb 2010 17:47:52 +0000 (18:47 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 22:19:38 +0000 (08:19 +1000)
commita87ff62a80a6a65fc664cd410061910b8c52b896
tree4aee718753c98403d100b42cba2b2ef925897ac6
parenta51a3bf50d41708388f51ce63d965c0e77726eab
drm/nv50: delete ramfc object after disabling fifo, not before

ramfc is zero'ed upon destruction, so it's safer to do things in the right
order.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_fifo.c