aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2012-12-20 02:39:35 -0500
committerInki Dae <inki.dae@samsung.com>2013-01-04 01:54:32 -0500
commitf4fd9bd4863ebbccbcef113c03b9b628a8242a64 (patch)
treee551d6819689aa78304c4283f3f70995b99b6cd8 /drivers/gpu/drm
parenteda85d6ad490923152544fba0473798b6cc0edf6 (diff)
drm/exynos: fix flags in dma buf exporting
This patch fixes flags passed to dma buf exporting. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kyungmin.park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dmabuf.c2
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 61d5a8402eb8..e98b096aaf39 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
@@ -222,7 +222,7 @@ struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev,
222 struct exynos_drm_gem_obj *exynos_gem_obj = to_exynos_gem_obj(obj); 222 struct exynos_drm_gem_obj *exynos_gem_obj = to_exynos_gem_obj(obj);
223 223
224 return dma_buf_export(exynos_gem_obj, &exynos_dmabuf_ops, 224 return dma_buf_export(exynos_gem_obj, &exynos_dmabuf_ops,
225 exynos_gem_obj->base.size, 0600); 225 exynos_gem_obj->base.size, flags);
226} 226}
227 227
228struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev, 228struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,