summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/os_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/os_linux.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/os_linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/os_linux.h b/drivers/gpu/nvgpu/common/linux/os_linux.h
index ebe131de..4dcce322 100644
--- a/drivers/gpu/nvgpu/common/linux/os_linux.h
+++ b/drivers/gpu/nvgpu/common/linux/os_linux.h
@@ -19,6 +19,7 @@
19 19
20#include <linux/cdev.h> 20#include <linux/cdev.h>
21#include <linux/iommu.h> 21#include <linux/iommu.h>
22#include <linux/hashtable.h>
22 23
23#include "gk20a/gk20a.h" 24#include "gk20a/gk20a.h"
24#include "cde.h" 25#include "cde.h"
@@ -139,6 +140,8 @@ struct nvgpu_os_linux {
139 struct dentry *debugfs_force_preemption_gfxp; 140 struct dentry *debugfs_force_preemption_gfxp;
140 struct dentry *debugfs_dump_ctxsw_stats; 141 struct dentry *debugfs_dump_ctxsw_stats;
141#endif 142#endif
143 DECLARE_HASHTABLE(ecc_sysfs_stats_htable, 5);
144
142 struct gk20a_cde_app cde_app; 145 struct gk20a_cde_app cde_app;
143 146
144 struct rw_semaphore busy_lock; 147 struct rw_semaphore busy_lock;