]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/nv20: Don't use pushbuf calls on the original nv20.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 25 Aug 2010 10:54:53 +0000 (12:54 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 26 Aug 2010 05:12:19 +0000 (15:12 +1000)
commitee508b821c2042fb852a078e594bd36606973780
treec4fbeac6d8ddba5d408cde20480afabcaa7e8d2a
parentfba675283429e41270feb661a1f6f3bc05d71981
drm/nv20: Don't use pushbuf calls on the original nv20.

The "return" command is buggy on the original nv20, it jumps back to
the caller address as expected, but it doesn't clear the subroutine
active bit making the subsequent pushbuf calls fail with a "stack"
overflow.

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