summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2015-05-20 16:23:56 -0400
committerAlex Waterman <alexw@nvidia.com>2015-07-20 14:33:07 -0400
commitca26ce6f8c9456e043569b0509a822d71ab38cfc (patch)
treec978d309d5b81f9e04a61eb1471d79d419e0b250 /drivers
parent12f245163d835d8367c0446798ab42aea6cf7ed9 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h2
1 files changed, 1 insertions, 1 deletions
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)
359/* 359/*
360 * Amount of the GVA space we actually use is smaller than the available space. 360 * Amount of the GVA space we actually use is smaller than the available space.
361 */ 361 */
362#define NV_GMMU_VA_RANGE 37 362#define NV_GMMU_VA_RANGE 40
363 363
364/* 364/*
365 * The bottom 16GB of the space are used for small pages, the remaining high 365 * The bottom 16GB of the space are used for small pages, the remaining high