projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0edc19
)
vc4: Don't try to put our dmabuf-exported BOs into the BO cache.
author
Eric Anholt
<eric@anholt.net>
Wed, 27 May 2015 23:20:28 +0000
(16:20 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 28 May 2015 00:29:11 +0000
(17:29 -0700)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_bufmgr.c
b/src/gallium/drivers/vc4/vc4_bufmgr.c
index 4bb2c711e16f34dddbfc054e7526b87f3ae33974..6b3a8c3070c8c62ff1e4dd1c20569cf1178d49b9 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_bufmgr.c
+++ b/
src/gallium/drivers/vc4/vc4_bufmgr.c
@@
-286,6
+286,7
@@
vc4_bo_get_dmabuf(struct vc4_bo *bo)
bo->handle);
return -1;
}
+ bo->private = false;
return fd;
}