From fbc21ed2ee1859dfe1814914a7b9367eee6b9f3d Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Fri, 11 Mar 2016 15:57:42 -0800 Subject: 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//separate_fixed_allocs Controls this feature. To enable it: # echo > /d//separate_fixed_allocs Where 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 Reviewed-on: http://git-master/r/1030303 Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c') 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) gk20a_pmu_debugfs_init(dev); gk20a_cde_debugfs_init(dev); gk20a_alloc_debugfs_init(dev); + gk20a_mm_debugfs_init(dev); #endif gk20a_init_gr(gk20a); -- cgit v1.2.2