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 <alexw@nvidia.com>
Reviewed-on: http://git-master/r/745076
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/771152
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
This commit is contained in:
Alex Waterman
2015-05-20 13:23:56 -07:00
parent 12f245163d
commit ca26ce6f8c

View 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