]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
gpu: nvgpu: Increase VA space to 40 bits
authorAlex Waterman <alexw@nvidia.com>
Wed, 20 May 2015 20:23:56 +0000 (13:23 -0700)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 7 Jul 2015 20:05:34 +0000 (13:05 -0700)
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 <alexw@nvidia.com>
Reviewed-on: http://git-master/r/745076
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/mm_gk20a.h

index 3af35b26c94c40b846239765d4ffb52066b6f837..5c6c285a0da2744ddde2ca1ad905699036ec5e96 100644 (file)
@@ -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