diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-08 13:13:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-08 22:13:34 -0400 |
commit | 821d1cab904d055264bc5d62b0c0d5187417ff13 (patch) | |
tree | c2e3a395e43374e84fb8b8dc3d8349ff6168a0af /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 1dfcf1833ba3e8fa58d0ad6ecb189db32c6b986f (diff) |
gpu: nvgpu: Move error notifier free to Linux module
Freeing error notifier involves calling dma_buf API, which is Linux
specific. Move the free to happen in Linux specific channel close
path.
JIRA NVGPU-65
Change-Id: Ifd8b31bb8c8af13975c34add00f51dd869cfd76a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1498583
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index a636e13c..9872e1b2 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -377,7 +377,6 @@ int gk20a_channel_alloc_gpfifo(struct channel_gk20a *c, | |||
377 | unsigned int num_entries, | 377 | unsigned int num_entries, |
378 | unsigned int num_inflight_jobs, | 378 | unsigned int num_inflight_jobs, |
379 | u32 flags); | 379 | u32 flags); |
380 | void gk20a_channel_free_error_notifiers(struct channel_gk20a *ch); | ||
381 | void gk20a_channel_free_cycle_stats_buffer(struct channel_gk20a *ch); | 380 | void gk20a_channel_free_cycle_stats_buffer(struct channel_gk20a *ch); |
382 | int gk20a_channel_free_cycle_stats_snapshot(struct channel_gk20a *ch); | 381 | int gk20a_channel_free_cycle_stats_snapshot(struct channel_gk20a *ch); |
383 | 382 | ||