From: Seung-Woo Kim Date: Thu, 20 Dec 2012 07:39:35 +0000 (+0900) Subject: drm/exynos: fix flags in dma buf exporting X-Git-Tag: upstream/snapshot3+hdmi~5909^2~3^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4fd9bd4863ebbccbcef113c03b9b628a8242a64;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm/exynos: fix flags in dma buf exporting This patch fixes flags passed to dma buf exporting. Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin.park Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c index 61d5a84..e98b096 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, struct exynos_drm_gem_obj *exynos_gem_obj = to_exynos_gem_obj(obj); return dma_buf_export(exynos_gem_obj, &exynos_dmabuf_ops, - exynos_gem_obj->base.size, 0600); + exynos_gem_obj->base.size, flags); } struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,