nouveau: set texture upload budget
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 2 Dec 2018 22:08:03 +0000 (17:08 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 4 Dec 2018 04:11:29 +0000 (23:11 -0500)
commitbacf8471dc7a7817735d3be0342c6fdb7880f3ca
tree9b30cdf27721c2541e48641d24a3965b87718871
parent08c64fe7a1f0edb5bef86480d26508cf5b0f34a8
nouveau: set texture upload budget

It doesn't seem like the exact number has too much effect on the
performaince in "teximage". However setting it to just about anything
prevents some OOMs from getting hit. These values are not well-tuned,
but don't seem too bad.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_screen.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c