diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 231f7c9a..1e97e859 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -352,15 +352,11 @@ static inline int max_vaddr_bits_gk20a(void) | |||
352 | 352 | ||
353 | /* | 353 | /* |
354 | * The bottom 16GB of the space are used for small pages, the remaining high | 354 | * The bottom 16GB of the space are used for small pages, the remaining high |
355 | * memory is for large pages. On simulation use 2GB for small pages, 2GB for | 355 | * memory is for large pages. |
356 | * large pages (if enabled). | ||
357 | */ | 356 | */ |
358 | static inline u64 __nv_gmmu_va_small_page_limit(void) | 357 | static inline u64 __nv_gmmu_va_small_page_limit(void) |
359 | { | 358 | { |
360 | if (tegra_platform_is_linsim()) | 359 | return ((u64)SZ_1G * 16); |
361 | return ((u64)SZ_1G * 2); | ||
362 | else | ||
363 | return ((u64)SZ_1G * 16); | ||
364 | } | 360 | } |
365 | 361 | ||
366 | static inline int __nv_gmmu_va_is_upper(struct vm_gk20a *vm, u64 addr) | 362 | static inline int __nv_gmmu_va_is_upper(struct vm_gk20a *vm, u64 addr) |