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.
This commit is contained in:
Eric Anholt
2015-05-27 16:20:28 -07:00
parent b0edc19a52
commit f8de6277bf
+1
View File
@@ -286,6 +286,7 @@ vc4_bo_get_dmabuf(struct vc4_bo *bo)
bo->handle);
return -1;
}
bo->private = false;
return fd;
}