summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c2
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 551e8b04..4e6837ef 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -684,6 +684,8 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g,
684 ch->subctx_id = 0; 684 ch->subctx_id = 0;
685 ch->runqueue_sel = 0; 685 ch->runqueue_sel = 0;
686 686
687 ch->mmu_nack_handled = false;
688
687 /* The channel is *not* runnable at this point. It still needs to have 689 /* The channel is *not* runnable at this point. It still needs to have
688 * an address space bound and allocate a gpfifo and grctx. */ 690 * an address space bound and allocate a gpfifo and grctx. */
689 691
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index f95184be..aa37db62 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -295,6 +295,8 @@ struct channel_gk20a {
295 295
296 /* Any operating system specific data. */ 296 /* Any operating system specific data. */
297 void *os_priv; 297 void *os_priv;
298
299 bool mmu_nack_handled;
298}; 300};
299 301
300static inline struct channel_gk20a * 302static inline struct channel_gk20a *