nv50,nvc0: properly handle buffer storage invalidation on dsa buffer
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 23 Nov 2015 02:08:16 +0000 (21:08 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 23 Nov 2015 02:08:16 +0000 (21:08 -0500)
commitad5f6b03e793b9390e3b9f3eca68bd43f9d809eb
tree9d183d95c8aacf278a043d8785df4ef8277265dc
parent079f713754a9e5d7802b655d54320bd37f24fbfa
nv50,nvc0: properly handle buffer storage invalidation on dsa buffer

In case that the buffer has no bind at all, assume it can be a regular
buffer. This can happen on buffers created through the ARB_dsa
interfaces.

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