]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: add separate functions to update gmmu ptes
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 20 Nov 2013 12:43:05 +0000 (18:13 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 2 Dec 2013 12:05:00 +0000 (04:05 -0800)
commit6c983117b04d9bfca564ca005bd539908e335c10
tree367870d2622271da64890caa133dbb8a82317773
parent57e0592c5f1ec40d7c50512bfd9b11853491d1a6
video: tegra: host: add separate functions to update gmmu ptes

- existing function gk20a_vm_map() maps both user space and
  in-kernel buffers
- it has a lot of checking for user space buffers which is not
  required for in-kernel buffers
- add separate functions gk20a_gmmu_map()/unmap() to update
  gmmu ptes for in-kernel buffers only

Bug 1397647

Change-Id: I08f275203827c0e20deb9d6ab00c6e38fc094b12
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/333919
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/mm_gk20a.c
drivers/video/tegra/host/gk20a/mm_gk20a.h