aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHemant Hariyani2018-06-06 00:54:09 -0500
committerandroid-build-merger2018-06-06 00:54:09 -0500
commit3c65100f3ee1bae52e7574b6459fbe347376db74 (patch)
tree072507360110a137f019778dfb67ce56759bbd94
parent0fb967dea8a8e5205d9bab3af696bef7ae009bdd (diff)
parentad03011fcb85e6f6636630a72566ca7a35bd49a7 (diff)
downloadexternal-libgbm-3c65100f3ee1bae52e7574b6459fbe347376db74.tar.gz
external-libgbm-3c65100f3ee1bae52e7574b6459fbe347376db74.tar.xz
external-libgbm-3c65100f3ee1bae52e7574b6459fbe347376db74.zip
omap: Add DRM_RDWR flag to dmabuf export
am: ad03011fcb Change-Id: I24ca6dd0bc75b92b00b07d4c20f7368020b41636
-rw-r--r--omap/omap_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omap/omap_drm.c b/omap/omap_drm.c
index 417d522c..65275ecd 100644
--- a/omap/omap_drm.c
+++ b/omap/omap_drm.c
@@ -414,7 +414,7 @@ int omap_bo_dmabuf(struct omap_bo *bo)
414 if (bo->fd < 0) { 414 if (bo->fd < 0) {
415 struct drm_prime_handle req = { 415 struct drm_prime_handle req = {
416 .handle = bo->handle, 416 .handle = bo->handle,
417 .flags = DRM_CLOEXEC, 417 .flags = DRM_CLOEXEC | DRM_RDWR,
418 }; 418 };
419 int ret; 419 int ret;
420 420