nvc0: switch mechanism for shader eviction to be a while loop
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 10 May 2015 05:57:56 +0000 (01:57 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 12 May 2015 22:47:17 +0000 (18:47 -0400)
commitd06ce2f1df54edd234b1abde37bba524ed599acb
treedc86a2adad4bcc7e24522d07b26ad91868d31547
parent380f7611b5d23b72684ce1eb848f956945e4c39b
nvc0: switch mechanism for shader eviction to be a while loop

This aligns it to work similarly to nv50. However there's no library
code there, so the whole thing can be freed. Here we end up with an
allocated node that's not attached to a specific program.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86792
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nvc0/nvc0_program.c