summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-09-21 17:24:59 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-26 14:10:01 -0400
commit2fa54c94a67e13d84df980d646674dde0ad27168 (patch)
tree2bf49a012542caa2ad278392b313305f74fe96f6 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent93eea1d72934b28db4707e5aa7ab4dab65d89551 (diff)
gpu: nvgpu: Remove global debugfs variable
Remove a global debugfs variable and instead save the allocator debugfs root node in the gk20a struct. Bug 1799159 Change-Id: If4eed34fa24775e962001e34840b334658f2321c Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1225611 (cherry picked from commit 1908fde10bb1fb60ce898ea329f5a441a3e4297a) Reviewed-on: http://git-master/r/1242390 GVS: Gerrit_Virtual_Submit Reviewed-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 635dddc4..58e69cbe 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -834,6 +834,7 @@ struct gk20a {
834 struct dentry *debugfs_timeslice_medium_priority_us; 834 struct dentry *debugfs_timeslice_medium_priority_us;
835 struct dentry *debugfs_timeslice_high_priority_us; 835 struct dentry *debugfs_timeslice_high_priority_us;
836 struct dentry *debugfs_runlist_interleave; 836 struct dentry *debugfs_runlist_interleave;
837 struct dentry *debugfs_allocators;
837 struct dentry *debugfs_xve; 838 struct dentry *debugfs_xve;
838#endif 839#endif
839 struct gk20a_ctxsw_ucode_info ctxsw_ucode_info; 840 struct gk20a_ctxsw_ucode_info ctxsw_ucode_info;