summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/tsg_gk20a.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
index 6178daa5..bcc4d0c4 100644
--- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -20,6 +20,7 @@
20 20
21bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); 21bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch);
22 22
23
23int gk20a_tsg_dev_release(struct inode *inode, struct file *filp); 24int gk20a_tsg_dev_release(struct inode *inode, struct file *filp);
24int gk20a_tsg_dev_open(struct inode *inode, struct file *filp); 25int gk20a_tsg_dev_open(struct inode *inode, struct file *filp);
25int gk20a_tsg_open(struct gk20a *g, struct file *filp); 26int gk20a_tsg_open(struct gk20a *g, struct file *filp);
@@ -50,4 +51,7 @@ struct tsg_gk20a {
50 struct vm_gk20a *vm; 51 struct vm_gk20a *vm;
51}; 52};
52 53
54int gk20a_enable_tsg(struct tsg_gk20a *tsg);
55int gk20a_disable_tsg(struct tsg_gk20a *tsg);
56
53#endif /* __TSG_GK20A_H_ */ 57#endif /* __TSG_GK20A_H_ */