From 5db7a42055eb2239b5a3a597935c27ac0b920d3d Mon Sep 17 00:00:00 2001 From: sujeet baranwal Date: Thu, 7 Aug 2014 17:04:18 -0700 Subject: gpu: sysfs mode for allowing access to registers Through this sysfs entry, the register space becomes accessible. This is be accessible root-only. Bug 1523403 Change-Id: Ia46f130a0cfd8324c5b675d19e7cbfba9dcb17ca Signed-off-by: sujeet baranwal Reviewed-on: http://git-master/r/454198 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index a82ad254..3d93ccde 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -289,6 +289,7 @@ struct gk20a { bool aelpg_enabled; bool forced_idle; bool forced_reset; + bool allow_all; #ifdef CONFIG_DEBUG_FS spinlock_t debugfs_lock; -- cgit v1.2.2