summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-03-11 18:57:42 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-03-25 16:19:17 -0400
commitfbc21ed2ee1859dfe1814914a7b9367eee6b9f3d (patch)
tree4792971895aca65f74a5480e82d67e7f312151a8 /drivers/gpu/nvgpu/gk20a/gk20a.c
parent907a43831513c2863e2f7fefc2d051f396d02354 (diff)
gpu: nvgpu: split address space for fixed allocs
Allow a special address space node to be split out from the user adress space or fixed allocations. A debugfs node, /d/<gpu>/separate_fixed_allocs Controls this feature. To enable it: # echo <SPLIT_ADDR> > /d/<gpu>/separate_fixed_allocs Where <SPLIT_ADDR> is the address to do the split on in the GVA address range. This will cause the split to be made in all subsequent address space ranges that get created until it is turned off. To turn this off just echo 0x0 into the same debugfs node. Change-Id: I21a3f051c635a90a6bfa8deae53a54db400876f9 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1030303 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 735bf90b..a382ccd1 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1565,6 +1565,7 @@ static int gk20a_probe(struct platform_device *dev)
1565 gk20a_pmu_debugfs_init(dev); 1565 gk20a_pmu_debugfs_init(dev);
1566 gk20a_cde_debugfs_init(dev); 1566 gk20a_cde_debugfs_init(dev);
1567 gk20a_alloc_debugfs_init(dev); 1567 gk20a_alloc_debugfs_init(dev);
1568 gk20a_mm_debugfs_init(dev);
1568#endif 1569#endif
1569 1570
1570 gk20a_init_gr(gk20a); 1571 gk20a_init_gr(gk20a);