summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorsujeet baranwal <sbaranwal@nvidia.com>2014-08-07 20:04:18 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:49 -0400
commit5db7a42055eb2239b5a3a597935c27ac0b920d3d (patch)
tree778d28ffd3e32200a6a3ff978c3ad02146281234 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent42d37357f8b4d2f2433f43f951dcbc3978d9f949 (diff)
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 <sbaranwal@nvidia.com> Reviewed-on: http://git-master/r/454198 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
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 {
289 bool aelpg_enabled; 289 bool aelpg_enabled;
290 bool forced_idle; 290 bool forced_idle;
291 bool forced_reset; 291 bool forced_reset;
292 bool allow_all;
292 293
293#ifdef CONFIG_DEBUG_FS 294#ifdef CONFIG_DEBUG_FS
294 spinlock_t debugfs_lock; 295 spinlock_t debugfs_lock;