From 099af7667486b3b21c42bd5ed8543e70cabc6f92 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 4 Jun 2015 16:00:52 -0700 Subject: 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 Reviewed-on: http://git-master/r/753378 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom Reviewed-on: http://git-master/r/755815 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c') 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, /* note: keep the page sizes sorted lowest to highest here */ u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size }; - /* - * Linsim bug: seems like we can't have pushbuffers above 4GB. Easy WAR for sim - * is to just limit the address space to 4GB. - */ - if (tegra_platform_is_linsim() && aperture_size > SZ_4G) - aperture_size = SZ_4G; - vm->mm = mm; vm->va_start = low_hole; -- cgit v1.2.2