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, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
index 51bc1086..5e2b9b82 100644
--- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
@@ -26,6 +26,9 @@
26#include <nvgpu/kref.h> 26#include <nvgpu/kref.h>
27#include <nvgpu/rwsem.h> 27#include <nvgpu/rwsem.h>
28 28
29#ifdef CONFIG_TEGRA_19x_GPU
30#include "tsg_t19x.h"
31#endif
29#define NVGPU_INVALID_TSG_ID (-1) 32#define NVGPU_INVALID_TSG_ID (-1)
30 33
31struct channel_gk20a; 34struct channel_gk20a;
@@ -65,6 +68,9 @@ struct tsg_gk20a {
65 u32 runlist_id; 68 u32 runlist_id;
66 pid_t tgid; 69 pid_t tgid;
67 struct nvgpu_mem *eng_method_buffers; 70 struct nvgpu_mem *eng_method_buffers;
71#ifdef CONFIG_TEGRA_19x_GPU
72 struct tsg_t19x t19x;
73#endif
68}; 74};
69 75
70int gk20a_enable_tsg(struct tsg_gk20a *tsg); 76int gk20a_enable_tsg(struct tsg_gk20a *tsg);