diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 371793ef..2949c426 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Graphics channel | 2 | * GK20A Graphics channel |
3 | * | 3 | * |
4 | * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -700,10 +700,8 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g, | |||
700 | ch->has_timedout = false; | 700 | ch->has_timedout = false; |
701 | ch->wdt_enabled = true; | 701 | ch->wdt_enabled = true; |
702 | ch->obj_class = 0; | 702 | ch->obj_class = 0; |
703 | #ifdef CONFIG_TEGRA_19x_GPU | 703 | ch->subctx_id = 0; |
704 | memset(&ch->t19x, 0, sizeof(struct channel_t19x)); | 704 | ch->runqueue_sel = 0; |
705 | #endif | ||
706 | |||
707 | 705 | ||
708 | /* The channel is *not* runnable at this point. It still needs to have | 706 | /* The channel is *not* runnable at this point. It still needs to have |
709 | * an address space bound and allocate a gpfifo and grctx. */ | 707 | * an address space bound and allocate a gpfifo and grctx. */ |