Re: [PATCH 2/2] drm/tegra: gem: Implement mmap() for PRIME buffers

2017-08-15 Thread Chris Wilson
Quoting Thierry Reding (2017-08-15 14:42:40) > From: Thierry Reding > > 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. > > Signed-off-by: Thierry Reding > --- > drivers/gpu/drm/tegra/gem.c | 48 > ++

[PATCH 2/2] drm/tegra: gem: Implement mmap() for PRIME buffers

2017-08-15 Thread Thierry Reding
From: Thierry Reding 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. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/gem.c | 48 +++-- 1 file changed, 33 insertio