projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c8ec8e
)
vigs: change dma_buf_export() function prototype
37/67037/5
author
SeokYeon Hwang
<syeon.hwang@samsung.com>
Sun, 24 Apr 2016 09:28:48 +0000
(18:28 +0900)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Tue, 3 May 2016 08:36:37 +0000
(
01:36
-0700)
Change-Id: I317db1b1c335947053f66cd031e906ce6736ee43
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
drivers/gpu/drm/vigs/vigs_dmabuf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vigs/vigs_dmabuf.c
b/drivers/gpu/drm/vigs/vigs_dmabuf.c
index
ba47bca
..
e1c3aea
100644
(file)
--- a/
drivers/gpu/drm/vigs/vigs_dmabuf.c
+++ b/
drivers/gpu/drm/vigs/vigs_dmabuf.c
@@
-174,12
+174,16
@@
struct dma_buf *vigs_dmabuf_prime_export(struct drm_device *dev,
{
struct vigs_gem_object *vigs_gem = gem_to_vigs_gem(gem_obj);
+ DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
+
DRM_DEBUG_PRIME("enter");
- return dma_buf_export(gem_obj,
- &vigs_dmabuf_ops,
- vigs_gem_size(vigs_gem),
- flags);
+ exp_info.ops = &vigs_dmabuf_ops;
+ exp_info.size = vigs_gem_size(vigs_gem);
+ exp_info.flags = flags;
+ exp_info.priv = gem_obj;
+
+ return dma_buf_export(&exp_info);
}
struct drm_gem_object *vigs_dmabuf_prime_import(struct drm_device *dev,