diff options
author | Thierry Reding <treding@nvidia.com> | 2018-05-16 18:49:04 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-18 21:52:19 +0200 |
commit | 4bd91a5b5dbb8b536208396c3d032cba8e3c3913 (patch) | |
tree | ae28b5eabb3d5249f1fa26f3d97e7da7e3ded15c /drivers/gpu/drm/tegra | |
parent | drm/tegra: Use proper arguments for DRM_TEGRA_CLOSE_CHANNEL IOCTL (diff) | |
download | linux-4bd91a5b5dbb8b536208396c3d032cba8e3c3913.tar.xz linux-4bd91a5b5dbb8b536208396c3d032cba8e3c3913.zip |
drm/tegra: gem: Fill in missing export info
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/gem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index 1c4011774c3f..00a5c9f32254 100644 --- 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; |