summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-06-30 19:05:32 -0400
committerAlex Waterman <alexw@nvidia.com>2016-07-19 14:31:50 -0400
commit0793de62b28bf8dcc655628129fd664862ac9909 (patch)
tree5938d45151d723c91b37dd3460ceacc33c1b3512 /drivers/gpu/nvgpu/vgpu/mm_vgpu.c
parent5672cbdf6d8e7b8b93a08cd388097e2d1f0a8843 (diff)
gpu: nvgpu: Change the allocator flag naming scheme
Move to a more generic name of GPU_ALLOC_*. Change-Id: Icbbd366847a9d74f83f578e4d9ea917a6e8ea3e2 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1176445 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/mm_vgpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
index c6f42703..6b741cd4 100644
--- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
@@ -381,7 +381,7 @@ static int vgpu_vm_alloc_share(struct gk20a_as_share *as_share,
381 small_vma_limit - small_vma_start, 381 small_vma_limit - small_vma_start,
382 SZ_4K, 382 SZ_4K,
383 GPU_BALLOC_MAX_ORDER, 383 GPU_BALLOC_MAX_ORDER,
384 GPU_BALLOC_GVA_SPACE); 384 GPU_ALLOC_GVA_SPACE);
385 if (err) 385 if (err)
386 goto clean_up_share; 386 goto clean_up_share;
387 } 387 }
@@ -396,7 +396,7 @@ static int vgpu_vm_alloc_share(struct gk20a_as_share *as_share,
396 large_vma_limit - large_vma_start, 396 large_vma_limit - large_vma_start,
397 big_page_size, 397 big_page_size,
398 GPU_BALLOC_MAX_ORDER, 398 GPU_BALLOC_MAX_ORDER,
399 GPU_BALLOC_GVA_SPACE); 399 GPU_ALLOC_GVA_SPACE);
400 if (err) 400 if (err)
401 goto clean_up_small_allocator; 401 goto clean_up_small_allocator;
402 } 402 }
@@ -412,7 +412,7 @@ static int vgpu_vm_alloc_share(struct gk20a_as_share *as_share,
412 kernel_vma_limit - kernel_vma_start, 412 kernel_vma_limit - kernel_vma_start,
413 SZ_4K, 413 SZ_4K,
414 GPU_BALLOC_MAX_ORDER, 414 GPU_BALLOC_MAX_ORDER,
415 GPU_BALLOC_GVA_SPACE); 415 GPU_ALLOC_GVA_SPACE);
416 if (err) 416 if (err)
417 goto clean_up_big_allocator; 417 goto clean_up_big_allocator;
418 418