summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 64a14f8e..b1d9fa55 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -2772,9 +2772,9 @@ int gk20a_channel_suspend(struct gk20a *g)
2772 if (gk20a_channel_get(ch)) { 2772 if (gk20a_channel_get(ch)) {
2773 gk20a_dbg_info("suspend channel %d", chid); 2773 gk20a_dbg_info("suspend channel %d", chid);
2774 /* disable channel */ 2774 /* disable channel */
2775 g->ops.fifo.disable_channel(ch); 2775 gk20a_disable_channel_tsg(g, ch);
2776 /* preempt the channel */ 2776 /* preempt the channel */
2777 g->ops.fifo.preempt_channel(g, chid); 2777 gk20a_fifo_preempt(g, ch);
2778 gk20a_channel_cancel_job_clean_up(ch, true); 2778 gk20a_channel_cancel_job_clean_up(ch, true);
2779 /* wait for channel update notifiers */ 2779 /* wait for channel update notifiers */
2780 if (ch->update_fn) 2780 if (ch->update_fn)