All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: fix flags in dma buf exporting
@ 2012-12-20  0:51 Dave Airlie
  2012-12-20  7:39 ` [PATCH 1/2] drm/exynos: " Seung-Woo Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dave Airlie @ 2012-12-20  0:51 UTC (permalink / raw)
  To: dri-devel

From: Dave Airlie <airlied@redhat.com>

As pointed out by Seung-Woo Kim this should have been
passing flags like nouveau/radeon have.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/i915/i915_gem_dmabuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_dmabuf.c b/drivers/gpu/drm/i915/i915_gem_dmabuf.c
index 773ef77..7be4241 100644
--- a/drivers/gpu/drm/i915/i915_gem_dmabuf.c
+++ b/drivers/gpu/drm/i915/i915_gem_dmabuf.c
@@ -226,7 +226,7 @@ struct dma_buf *i915_gem_prime_export(struct drm_device *dev,
 {
 	struct drm_i915_gem_object *obj = to_intel_bo(gem_obj);
 
-	return dma_buf_export(obj, &i915_dmabuf_ops, obj->base.size, 0600);
+	return dma_buf_export(obj, &i915_dmabuf_ops, obj->base.size, flags);
 }
 
 static int i915_gem_object_get_pages_dmabuf(struct drm_i915_gem_object *obj)
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-21 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20  0:51 [PATCH] drm/i915: fix flags in dma buf exporting Dave Airlie
2012-12-20  7:39 ` [PATCH 1/2] drm/exynos: " Seung-Woo Kim
2012-12-21 16:08   ` Inki Dae
2012-12-20  7:39 ` [PATCH 2/2] drm/omap: " Seung-Woo Kim
2012-12-20 14:30   ` Rob Clark
2012-12-20 10:17 ` [PATCH] drm/i915: " Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.