derekf pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=4fca111eb5c607451720ad406c9da57d3ebc26b5
commit 4fca111eb5c607451720ad406c9da57d3ebc26b5 Author: Derek Foreman <der...@osg.samsung.com> Date: Fri May 19 16:47:57 2017 -0500 Don't require dmabuf buffers to be writeable Compositor doesn't need to write to this buffer, and most clients won't allocate them in a way that the compositor can. Relax the test criteria. --- src/bin/e_pixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index a59c696b8..f1c07442a 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -1081,7 +1081,7 @@ e_pixmap_dmabuf_test(struct linux_dmabuf_buffer *dmabuf) /* This is only legit for ARGB8888 */ size = dmabuf->attributes.height * dmabuf->attributes.stride[0]; - data = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, dmabuf->attributes.fd[0], 0); + data = mmap(NULL, size, PROT_READ, MAP_SHARED, dmabuf->attributes.fd[0], 0); if (data == MAP_FAILED) return EINA_FALSE; munmap(data, size); --