aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHemant Hariyani2018-06-06 01:05:29 -0500
committerandroid-build-merger2018-06-06 01:05:29 -0500
commit1d7a660cddea85ac87e01b76b44baa663777ed40 (patch)
tree072507360110a137f019778dfb67ce56759bbd94
parent0fb967dea8a8e5205d9bab3af696bef7ae009bdd (diff)
parent3c65100f3ee1bae52e7574b6459fbe347376db74 (diff)
downloadexternal-libdrm-1d7a660cddea85ac87e01b76b44baa663777ed40.tar.gz
external-libdrm-1d7a660cddea85ac87e01b76b44baa663777ed40.tar.xz
external-libdrm-1d7a660cddea85ac87e01b76b44baa663777ed40.zip
omap: Add DRM_RDWR flag to dmabuf export am: ad03011fcb
am: 3c65100f3e Change-Id: I940f13f2a9e5c9a30c54304474b3747871a16879
-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