]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: gk20a: always map ptes for 64 bit arch
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 2 Apr 2014 13:26:55 +0000 (18:56 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 7 Apr 2014 09:38:42 +0000 (02:38 -0700)
commit0b3ae369b8c3412faba56e8e9d479c85ab2cd7d4
tree980ff8c4a3ceaf8575e56443605d6996518448bc
parent5ecb01b5f6a95c59fae42fe01fc42a8d9234861e
gpu: nvgpu: gk20a: always map ptes for 64 bit arch

On 64 bit architecture, we have plenty of vmalloc space
so that we can keep all the ptes mapped always
But on 32 but architecture, vmalloc space is limited and
hence we have to map/unmap ptes when required

Hence add new APIs for arch64 and call them if
IS_ENABLED(CONFIG_ARM64) is true

Bug 1443071

Change-Id: I091d1d6a3883a1b158c5c88baeeff1882ea1fc8b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/387642
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/mm_gk20a.c