]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb254ea9e181a69396fc19e2920c847759d765664
treea2a27ca39bd22e73968f6df7e8fb164545611137
parent37ed7d0e7b557bb6342e92680a1b5c91b42a9b40
drm/nv40/gr: rewrite/split context takedown functions

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>
drivers/gpu/drm/nouveau/nv40_graph.c