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, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
index 08fe0365..2168cb4f 100644
--- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
@@ -26,6 +26,8 @@
26#include <nvgpu/kref.h> 26#include <nvgpu/kref.h>
27#include <nvgpu/rwsem.h> 27#include <nvgpu/rwsem.h>
28 28
29#include "gr_gk20a.h"
30
29#ifdef CONFIG_TEGRA_19x_GPU 31#ifdef CONFIG_TEGRA_19x_GPU
30#include "tsg_t19x.h" 32#include "tsg_t19x.h"
31#endif 33#endif
@@ -56,8 +58,6 @@ struct tsg_gk20a {
56 unsigned int timeslice_timeout; 58 unsigned int timeslice_timeout;
57 unsigned int timeslice_scale; 59 unsigned int timeslice_scale;
58 60
59 struct gr_ctx_desc *tsg_gr_ctx;
60
61 struct vm_gk20a *vm; 61 struct vm_gk20a *vm;
62 62
63 u32 interleave_level; 63 u32 interleave_level;
@@ -71,6 +71,8 @@ struct tsg_gk20a {
71#ifdef CONFIG_TEGRA_19x_GPU 71#ifdef CONFIG_TEGRA_19x_GPU
72 struct tsg_t19x t19x; 72 struct tsg_t19x t19x;
73#endif 73#endif
74
75 struct nvgpu_gr_ctx gr_ctx;
74}; 76};
75 77
76int gk20a_enable_tsg(struct tsg_gk20a *tsg); 78int gk20a_enable_tsg(struct tsg_gk20a *tsg);