OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c850ece
)
drm/tegra: gem: Fill in missing export info
author
Thierry Reding
<treding@nvidia.com>
Wed, 16 May 2018 16:49:04 +0000
(18:49 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 18 May 2018 19:52:19 +0000
(21:52 +0200)
Set the owner and name of the exported DMA-BUF in addition to the
already filled-in fields.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/gem.c
b/drivers/gpu/drm/tegra/gem.c
index
1c40117
..
00a5c9f
100644
(file)
--- a/
drivers/gpu/drm/tegra/gem.c
+++ b/
drivers/gpu/drm/tegra/gem.c
@@
-649,6
+649,8
@@
struct dma_buf *tegra_gem_prime_export(struct drm_device *drm,
{
DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
+ exp_info.exp_name = KBUILD_MODNAME;
+ exp_info.owner = drm->driver->fops->owner;
exp_info.ops = &tegra_gem_prime_dmabuf_ops;
exp_info.size = gem->size;
exp_info.flags = flags;