From: Thierry Reding Date: Wed, 16 May 2018 16:49:04 +0000 (+0200) Subject: drm/tegra: gem: Fill in missing export info X-Git-Tag: v4.18-rc1~128^2~3^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bd91a5b5dbb8b536208396c3d032cba8e3c3913;p=thirdparty%2Flinux.git 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 Tested-by: Dmitry Osipenko Signed-off-by: Thierry Reding --- diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index 1c4011774c3f8..00a5c9f322543 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;