diff options
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_dmabuf.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c index 73749226cac8..f5eb2ff84c95 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c @@ -237,7 +237,7 @@ struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev, exp_info.ops = &exynos_dmabuf_ops; exp_info.size = exynos_gem_obj->base.size; - exp_info.flags = flags; + exp_info.flags = flags | O_RDWR; exp_info.priv = obj; return dma_buf_export(&exp_info); |