diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h index 40e12105..9195d3d3 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | |||
@@ -25,7 +25,7 @@ struct channel_gk20a; | |||
25 | 25 | ||
26 | bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); | 26 | bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); |
27 | struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g); | 27 | struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g); |
28 | void gk20a_tsg_release(struct kref *ref); | 28 | void gk20a_tsg_release(struct nvgpu_ref *ref); |
29 | 29 | ||
30 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); | 30 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); |
31 | struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch); | 31 | struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch); |
@@ -36,7 +36,7 @@ struct tsg_gk20a { | |||
36 | bool in_use; | 36 | bool in_use; |
37 | int tsgid; | 37 | int tsgid; |
38 | 38 | ||
39 | struct kref refcount; | 39 | struct nvgpu_ref refcount; |
40 | 40 | ||
41 | struct nvgpu_list_node ch_list; | 41 | struct nvgpu_list_node ch_list; |
42 | int num_active_channels; | 42 | int num_active_channels; |