summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index a4f0799a..3ba05e84 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -857,6 +857,7 @@ struct gk20a {
857 atomic_t nonstall_ops; 857 atomic_t nonstall_ops;
858 struct work_struct nonstall_fn_work; 858 struct work_struct nonstall_fn_work;
859 struct workqueue_struct *nonstall_work_queue; 859 struct workqueue_struct *nonstall_work_queue;
860 struct kref refcount;
860 861
861 struct resource *reg_mem; 862 struct resource *reg_mem;
862 void __iomem *regs; 863 void __iomem *regs;
@@ -1468,6 +1469,9 @@ static inline void gk20a_channel_trace_sched_param(
1468 1469
1469void nvgpu_wait_for_deferred_interrupts(struct gk20a *g); 1470void nvgpu_wait_for_deferred_interrupts(struct gk20a *g);
1470 1471
1472struct gk20a * __must_check gk20a_get(struct gk20a *g);
1473void gk20a_put(struct gk20a *g);
1474
1471#ifdef CONFIG_DEBUG_FS 1475#ifdef CONFIG_DEBUG_FS
1472int gk20a_railgating_debugfs_init(struct device *dev); 1476int gk20a_railgating_debugfs_init(struct device *dev);
1473#endif 1477#endif