nvc0: reduce overhead from always marking images dirty
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Jun 2016 18:13:38 +0000 (14:13 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Jun 2016 03:50:56 +0000 (23:50 -0400)
commitfd6bbc2ee205ed02f66a8d8ef5b2adf4005d588c
treeb155cf131a5e052759f677b561338b59a889f9e9
parent0f673db6f08995312a2f5ed04aba191d59910099
nvc0: reduce overhead from always marking images dirty

We would revalidate images when anything was touched at all. Which is
unfortunate, since the state tracker does not use CSO's to reduce the
workload. So instead implement a protocol to ensure that something has
changed before revalidating all the images.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_state.c