From aa52601f620423fdd98b79e2c2c5e1d767a5f685 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 15 Dec 2017 08:45:32 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1618905 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c') 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, gpfifo_size = num_entries; gpfifo_entry_size = nvgpu_get_gpfifo_entry_size(); - if (!(flags & NVGPU_GPFIFO_FLAGS_ALLOW_BARE_CHANNEL) && - !gk20a_is_channel_marked_as_tsg(c)) { - nvgpu_err(g, "channel not part of a TSG"); - return -EINVAL; - } - if (flags & NVGPU_GPFIFO_FLAGS_SUPPORT_VPR) c->vpr = true; -- cgit v1.2.2