]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Refactor page mapping code
authorTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 14 Jan 2015 16:54:26 +0000 (08:54 -0800)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 25 Feb 2015 23:06:56 +0000 (15:06 -0800)
commit660a3ad243915e19ca129af97bfba2947ecb2fd0
treefc6bc4202f42925934f0dd84373e73b7961931b9
parent9c51537b09dfea1c08b98c2205593156cad99684
gpu: nvgpu: Refactor page mapping code

Pass always the directory structure to mm functions instead of
pointers to members to it. Also split update_gmmu_ptes_locked()
into smaller functions, and turn the hard
coded MMU levels (PDE, PTE) into run-time parameters.

Change-Id: I315ef7aebbea1e61156705361f2e2a63b5fb7bf1
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/672485
Reviewed-by: Automatic_Commit_Validation_User
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/mm_gk20a.c
drivers/gpu/nvgpu/gk20a/mm_gk20a.h
drivers/gpu/nvgpu/gm20b/mm_gm20b.c
drivers/gpu/nvgpu/vgpu/mm_vgpu.c