From ca26ce6f8c9456e043569b0509a822d71ab38cfc Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 20 May 2015 13:23:56 -0700 Subject: gpu: nvgpu: Increase VA space to 40 bits Now that the buddy allocator is merged we can increase the VA space without dramatically increasing memory usage by the allocator. 40 bits is the max VA space available on gk20a and gm20b. Change-Id: I7bc8d86e35b28f041e9a435f2571c8288970c8ee Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/745076 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom Reviewed-on: http://git-master/r/771152 Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 3af35b26..5c6c285a 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h @@ -359,7 +359,7 @@ static inline int max_vaddr_bits_gk20a(void) /* * Amount of the GVA space we actually use is smaller than the available space. */ -#define NV_GMMU_VA_RANGE 37 +#define NV_GMMU_VA_RANGE 40 /* * The bottom 16GB of the space are used for small pages, the remaining high -- cgit v1.2.2