]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: gem: Make __tegra_gem_mmap() available more widely
authorThierry Reding <treding@nvidia.com>
Wed, 7 Feb 2018 17:45:55 +0000 (18:45 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Mar 2018 13:38:30 +0000 (14:38 +0100)
commit62b99e3121f5c49568db31093a373d6d26a156f6
tree178b216a4bd526ff3080d1a8083ed6857ffeb760
parent4d3fdb4a182bcf05fd29bd9f40550e02815ded09
drm/tegra: gem: Make __tegra_gem_mmap() available more widely

This function allows mapping a GEM object into a virtual memory address
space, which makes it useful outside of the GEM code.

While at it, rename the function so it doesn't clash with the function
that implements the DRM_TEGRA_GEM_MMAP IOCTL.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c
drivers/gpu/drm/tegra/gem.h