vc4: Don't try to put our dmabuf-exported BOs into the BO cache.
authorEric Anholt <eric@anholt.net>
Wed, 27 May 2015 23:20:28 +0000 (16:20 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 May 2015 00:29:11 +0000 (17:29 -0700)
commitf8de6277bfa1a7db9a8c0f0baaa441276264a982
tree648b34a5599a56382526355c33fed64c0bc991e4
parentb0edc19a521853371a63e9ffbc519424c8f82942
vc4: Don't try to put our dmabuf-exported BOs into the BO cache.

We'd sometimes try to reallocate something that X was using as a new
pipe_resource, and potentially conflict in our rendering.  But even
worse, if we reallocated the BO as a shader, the kernel would reject
rendering using the shader.
src/gallium/drivers/vc4/vc4_bufmgr.c