diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-12-15 11:45:32 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-28 13:01:28 -0500 |
commit | aa52601f620423fdd98b79e2c2c5e1d767a5f685 (patch) | |
tree | baac16f9028de7023ea45813dbdf77e3721d9287 /drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |
parent | ea1b69d3f5e419ab1e66340779fda143e8f4ebc3 (diff) |
gpu: nvgpu: Remove support for bare channels
Remove remaining support for bare channels. All users of bare
channels have already moved to TSGs.
Bug 1842197
Change-Id: I1ff12677253b160dac9bebe6925ad0839ea07cfc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1618905
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index ee78d0b1..e10be3c9 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1134,12 +1134,6 @@ int gk20a_channel_alloc_gpfifo(struct channel_gk20a *c, | |||
1134 | gpfifo_size = num_entries; | 1134 | gpfifo_size = num_entries; |
1135 | gpfifo_entry_size = nvgpu_get_gpfifo_entry_size(); | 1135 | gpfifo_entry_size = nvgpu_get_gpfifo_entry_size(); |
1136 | 1136 | ||
1137 | if (!(flags & NVGPU_GPFIFO_FLAGS_ALLOW_BARE_CHANNEL) && | ||
1138 | !gk20a_is_channel_marked_as_tsg(c)) { | ||
1139 | nvgpu_err(g, "channel not part of a TSG"); | ||
1140 | return -EINVAL; | ||
1141 | } | ||
1142 | |||
1143 | if (flags & NVGPU_GPFIFO_FLAGS_SUPPORT_VPR) | 1137 | if (flags & NVGPU_GPFIFO_FLAGS_SUPPORT_VPR) |
1144 | c->vpr = true; | 1138 | c->vpr = true; |
1145 | 1139 | ||