summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-06-09 17:24:06 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-06-14 17:01:03 -0400
commit4e21f4a148c94982bbbd7be18c272b06738918e9 (patch)
tree85551cfff0f876430829b4c2fe2359140ca72f0e /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parent1409d216e536f742700f1ef23a17481509024799 (diff)
gpu: nvgpu: export gk20a_free_priv_cmdbuf
Export gk20a_free_priv_cmdbuf() so that the channel_sync_gk20a.c code can call this function. This is necessary for error paths in the semaphore wait/incr functions. Bug 1732449 JIRA DNVGPU-12 Change-Id: Id2ea13e5553d50475ee1bbf94781e18590321fdf Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1162686 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index d8528984..f60bbda4 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -222,6 +222,7 @@ void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error);
222void gk20a_channel_semaphore_wakeup(struct gk20a *g, bool post_events); 222void gk20a_channel_semaphore_wakeup(struct gk20a *g, bool post_events);
223int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, 223int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size,
224 struct priv_cmd_entry **entry); 224 struct priv_cmd_entry **entry);
225int gk20a_free_priv_cmdbuf(struct channel_gk20a *c, struct priv_cmd_entry *e);
225 226
226int gk20a_enable_channel_tsg(struct gk20a *g, struct channel_gk20a *ch); 227int gk20a_enable_channel_tsg(struct gk20a *g, struct channel_gk20a *ch);
227int gk20a_disable_channel_tsg(struct gk20a *g, struct channel_gk20a *ch); 228int gk20a_disable_channel_tsg(struct gk20a *g, struct channel_gk20a *ch);