]> 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)
commitc06394b760d0799b357c47f2b93f6e4277690d06
treed12efe90dde9f0938ac7c3a79a5c93a67c73ebef
parent46e2da97208d652d6d334f18193266d2d0c463e7
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