From 0793de62b28bf8dcc655628129fd664862ac9909 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 30 Jun 2016 16:05:32 -0700 Subject: 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 Reviewed-on: http://git-master/r/1176445 Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c') 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, small_vma_limit - small_vma_start, SZ_4K, GPU_BALLOC_MAX_ORDER, - GPU_BALLOC_GVA_SPACE); + GPU_ALLOC_GVA_SPACE); if (err) goto clean_up_share; } @@ -396,7 +396,7 @@ static int vgpu_vm_alloc_share(struct gk20a_as_share *as_share, large_vma_limit - large_vma_start, big_page_size, GPU_BALLOC_MAX_ORDER, - GPU_BALLOC_GVA_SPACE); + GPU_ALLOC_GVA_SPACE); if (err) goto clean_up_small_allocator; } @@ -412,7 +412,7 @@ static int vgpu_vm_alloc_share(struct gk20a_as_share *as_share, kernel_vma_limit - kernel_vma_start, SZ_4K, GPU_BALLOC_MAX_ORDER, - GPU_BALLOC_GVA_SPACE); + GPU_ALLOC_GVA_SPACE); if (err) goto clean_up_big_allocator; -- cgit v1.2.2