From 2788943d3871cd84ada8cfe1dc56ce4f5a1ae6ab Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 18 May 2018 16:13:35 +0300 Subject: gpu: nvgpu: remove broken force_pramin feature The forced PRAMIN reads and writes for sysmem buffers haven't worked in a while since the PRAMIN access code was refactored to work with vidmem-only sgt allocs. This feature was only ever meant for testing and debugging PRAMIN access and early dGPU support, but that is stable enough now so just delete the broken feature instead of fixing it. Change-Id: Ib31dae4550f3b6fea3c426a2e4ad126864bf85d2 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1723725 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/debug_mm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/debug_mm.c') diff --git a/drivers/gpu/nvgpu/common/linux/debug_mm.c b/drivers/gpu/nvgpu/common/linux/debug_mm.c index f2c42e70..5a3510bf 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_mm.c +++ b/drivers/gpu/nvgpu/common/linux/debug_mm.c @@ -19,8 +19,4 @@ void gk20a_mm_debugfs_init(struct gk20a *g) { - struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); - - debugfs_create_bool("force_pramin", 0664, l->debugfs, - &g->mm.force_pramin); } -- cgit v1.2.2