diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-11-08 14:28:35 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-04 18:53:55 -0500 |
commit | 9e2f7d98d4cf2845d3dfea1653f3d6bedd4fb1e6 (patch) | |
tree | 5849b8c4f3f120337d945770fc8a73e61873e22a /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 91d977ced46f5db02da077df8703e958c5e2af4e (diff) |
gpu: nvgpu: Move deferred interrupt wait code
Move the code that waits for deferred interrupts to nvgpu_common.c and
make it global. Also rename that function to use nvgpu_ as the function
prefix.
Bug 1816516
Bug 1807277
Change-Id: I42c4982ea853af5489051534219bfe8b253c2784
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1250027
(cherry picked from commit cb6fb03e20b08e5c3606ae8a5a9c237bfdf9e7da)
Reviewed-on: http://git-master/r/1274475
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index eab9843a..e8c1b30f 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1384,6 +1384,8 @@ static inline void gk20a_channel_trace_sched_param( | |||
1384 | ch->ch_ctx.gr_ctx->compute_preempt_mode : 0)); | 1384 | ch->ch_ctx.gr_ctx->compute_preempt_mode : 0)); |
1385 | } | 1385 | } |
1386 | 1386 | ||
1387 | void nvgpu_wait_for_deferred_interrupts(struct gk20a *g); | ||
1388 | |||
1387 | #ifdef CONFIG_DEBUG_FS | 1389 | #ifdef CONFIG_DEBUG_FS |
1388 | int gk20a_railgating_debugfs_init(struct device *dev); | 1390 | int gk20a_railgating_debugfs_init(struct device *dev); |
1389 | #endif | 1391 | #endif |