summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-07-20 14:12:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-21 18:44:02 -0400
commit652da8116966af2a8438a9a9f135a11b4e5c6c7b (patch)
tree550e66e9127bf44b03f44a0b9b4c39cbe5b42a14 /drivers/gpu/nvgpu/include
parentbcf83fab33d8f1821cfcfd8c03411ea2fcf5334b (diff)
gpu: nvgpu: Force the PMU VM to use 128K large pages (gm20b)
Add a WAR for gm20b that allows us to force the PMU VM to use 128K large pages. For some reason setting the small page size to 64K breaks the PMU boot. Unclear why. Bug needs to be filed and fixed. Once fixed this patch can and should be reverted. Bug 200105199 Change-Id: I2b4c9e214e2a6dff33bea18bd2359c33364ba03f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1782769 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index c0fb9218..a0b738e0 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -81,6 +81,8 @@ struct gk20a;
81#define NVGPU_USE_COHERENT_SYSMEM 26 81#define NVGPU_USE_COHERENT_SYSMEM 26
82/* Use physical scatter tables instead of IOMMU */ 82/* Use physical scatter tables instead of IOMMU */
83#define NVGPU_MM_USE_PHYSICAL_SG 27 83#define NVGPU_MM_USE_PHYSICAL_SG 27
84/* WAR for gm20b chips. */
85#define NVGPU_MM_FORCE_128K_PMU_VM 28
84 86
85/* 87/*
86 * Host flags 88 * Host flags