summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
diff options
context:
space:
mode:
authorDeepak Goyal <dgoyal@nvidia.com>2017-10-27 05:26:28 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-02 08:10:12 -0400
commit00b255cf43a2f85d4d9a0378c4a85e7a20e6adc8 (patch)
treec0d36ab636cb2cdaef2614b9d617c011ab217a16 /drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
parent23c7903eff6ee1ab184dfcc62c054de1557e5b1d (diff)
gpu: nvgpu: Add t19x specific TSG fields.
TSG struct is extended to accomodate t19x specific args. JIRA GPUT19x-16 Change-Id: I52b6613d84878f68861fe2515bafba92f83d9572 Signed-off-by: Deepak Goyal <dgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1586855 Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
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);