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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 444fec13..2ec1ffe4 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -1141,6 +1141,7 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g)
1141 ch->timeout_ms_max = gk20a_get_gr_idle_timeout(g); 1141 ch->timeout_ms_max = gk20a_get_gr_idle_timeout(g);
1142 ch->timeout_debug_dump = true; 1142 ch->timeout_debug_dump = true;
1143 ch->has_timedout = false; 1143 ch->has_timedout = false;
1144 ch->wdt_enabled = true;
1144 ch->obj_class = 0; 1145 ch->obj_class = 0;
1145 ch->interleave = false; 1146 ch->interleave = false;
1146 gk20a_fifo_set_channel_priority( 1147 gk20a_fifo_set_channel_priority(
@@ -2231,7 +2232,6 @@ int gk20a_init_channel_support(struct gk20a *g, u32 chid)
2231 c->g = NULL; 2232 c->g = NULL;
2232 c->hw_chid = chid; 2233 c->hw_chid = chid;
2233 c->bound = false; 2234 c->bound = false;
2234 c->wdt_enabled = true;
2235 spin_lock_init(&c->ref_obtain_lock); 2235 spin_lock_init(&c->ref_obtain_lock);
2236 atomic_set(&c->ref_count, 0); 2236 atomic_set(&c->ref_count, 0);
2237 c->referenceable = false; 2237 c->referenceable = false;