aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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