diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-19 14:05:24 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-20 14:35:18 -0400 |
commit | c50b02eb66a7d45612f34236e14b7b7117ae398d (patch) | |
tree | 72c2cbfd9bb8df4ec26cc396b80e91877e11298c /drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | |
parent | 84703739a52f1c4e878e871429edb22dfcb4005e (diff) |
gpu: nvgpu: Move tsg_gk20a_from_ch to tsg_gk20a.c
The function tsg_gk20a_from_ch() is an operation on tsg_gk20a
structure, so move it to be part of tsg_gk20a.c and export
via tsg_gk20a.h.
JIRA NVGPU-38
Change-Id: I2afba3533ac829088a5edf8b16cf4e071b69b77a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505172
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h index 5a13c912..72cff4f9 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | |||
@@ -30,6 +30,7 @@ void gk20a_tsg_release(struct kref *ref); | |||
30 | 30 | ||
31 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); | 31 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); |
32 | void gk20a_init_tsg_ops(struct gpu_ops *gops); | 32 | void gk20a_init_tsg_ops(struct gpu_ops *gops); |
33 | struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch); | ||
33 | 34 | ||
34 | struct tsg_gk20a { | 35 | struct tsg_gk20a { |
35 | struct gk20a *g; | 36 | struct gk20a *g; |