diff options
-rw-r--r-- | omap/omap_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omap/omap_drm.c b/omap/omap_drm.c index 83c365a1..08bf1269 100644 --- a/omap/omap_drm.c +++ b/omap/omap_drm.c | |||
@@ -416,7 +416,7 @@ int omap_bo_dmabuf(struct omap_bo *bo) | |||
416 | if (!bo->fd) { | 416 | if (!bo->fd) { |
417 | struct drm_prime_handle req = { | 417 | struct drm_prime_handle req = { |
418 | .handle = bo->handle, | 418 | .handle = bo->handle, |
419 | .flags = DRM_CLOEXEC, | 419 | .flags = DRM_CLOEXEC | DRM_RDWR, |
420 | }; | 420 | }; |
421 | int ret; | 421 | int ret; |
422 | 422 | ||