summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2015-06-04 19:00:52 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-11 13:16:47 -0400
commit099af7667486b3b21c42bd5ed8543e70cabc6f92 (patch)
tree0b892c8b6829ba842faa8613b468472e515b757a /drivers/gpu/nvgpu/gk20a/mm_gk20a.c
parent00721d4cb879c1d0a7b80375be2f7ce7c4e4a6d8 (diff)
gpu: nvgpu: Remove simulation WAR
The WAR put into simulation to avoid a simulator crash can now be removed (c85be1a0968de813fe9b99ebd5c261dcb0ca8875). The first issue with the failing test was found to be GPFIFO entries that were not invalid. Other issues are still present with the test and are fixed in a later commit. Change-Id: I7d3def2e384eede82cfc82b961f09ca23b239d30 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/753378 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/755815 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 1ab84e03..197e2b81 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2559,13 +2559,6 @@ int gk20a_init_vm(struct mm_gk20a *mm,
2559 /* note: keep the page sizes sorted lowest to highest here */ 2559 /* note: keep the page sizes sorted lowest to highest here */
2560 u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size }; 2560 u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size };
2561 2561
2562 /*
2563 * Linsim bug: seems like we can't have pushbuffers above 4GB. Easy WAR for sim
2564 * is to just limit the address space to 4GB.
2565 */
2566 if (tegra_platform_is_linsim() && aperture_size > SZ_4G)
2567 aperture_size = SZ_4G;
2568
2569 vm->mm = mm; 2562 vm->mm = mm;
2570 2563
2571 vm->va_start = low_hole; 2564 vm->va_start = low_hole;