diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-23 18:28:00 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-07-03 20:59:12 -0400 |
commit | 63714e7cc158d0574947c2171a81988ffece2a2a (patch) | |
tree | 982f88d7ab69376552506c70651a5e1975161ad3 /drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |
parent | 4cc1457703462f3743c05a866690d1748e7bd8e8 (diff) |
gpu: nvgpu: Implement priv pages
Implement support for privileged pages. Use them for kernel allocated buffers.
Change-Id: I720fc441008077b8e2ed218a7a685b8aab2258f0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/761919
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index be1fa47d..640111b5 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -67,6 +67,7 @@ static u64 vgpu_locked_gmmu_map(struct vm_gk20a *vm, | |||
67 | int rw_flag, | 67 | int rw_flag, |
68 | bool clear_ctags, | 68 | bool clear_ctags, |
69 | bool sparse, | 69 | bool sparse, |
70 | bool priv, | ||
70 | struct vm_gk20a_mapping_batch *batch) | 71 | struct vm_gk20a_mapping_batch *batch) |
71 | { | 72 | { |
72 | int err = 0; | 73 | int err = 0; |