drm/nv40/gr: rewrite/split context takedown functions
authorBen Skeggs <bskeggs@redhat.com>
Sun, 17 Jul 2011 23:56:36 +0000 (09:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 24 Jul 2011 23:42:18 +0000 (09:42 +1000)
It's completely pointless to save the PGRAPH context when destroying a
channel, so don't bother.

This commit should also fix kernel.org bug 39422, where the DRM channel
state was incorrectly being saved because we left PGRAPH FIFO access
enabled while running the ctxprog.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found