mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user