]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: gem: Implement mmap() for PRIME buffers
authorThierry Reding <treding@nvidia.com>
Tue, 15 Aug 2017 13:42:40 +0000 (15:42 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 15:57:18 +0000 (17:57 +0200)
commit486c6a4d4f9fad650a4c57185b741675c7acb275
treed12efe90dde9f0938ac7c3a79a5c93a67c73ebef
parente663c26ae693d744dae6181c8cc30710a3a730e4
drm/tegra: gem: Implement mmap() for PRIME buffers

The mapping of PRIME buffers can reuse much of the GEM mapping code, so
extract the common bits into a new tegra_gem_mmap() helper.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c