summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-10-11 13:29:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-13 16:43:10 -0400
commita8643b3a99af5011f4e933967f8a09f227ce4949 (patch)
tree4f6f082549ff861320e02cfe0a9263ced6f11897 /drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
parent6de92de60b284266922ea151e1818d237cb5ac3e (diff)
gpu: nvgpu: WAR: unbind_channel_verify_status ret val
Do not return error if channel to be removed has NEXT set. This is a WAR until proper fix is identified and implemented. Bug 200327095 Change-Id: Ia77f3b834e8e577ac2dad8281f1dd562079adcef Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1577133 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 6544a652..32915ee1 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1913,9 +1913,10 @@ int gk20a_fifo_tsg_unbind_channel_verify_status(struct channel_gk20a *ch)
1913 struct gk20a *g = ch->g; 1913 struct gk20a *g = ch->g;
1914 1914
1915 if (gk20a_fifo_channel_status_is_next(g, ch->chid)) { 1915 if (gk20a_fifo_channel_status_is_next(g, ch->chid)) {
1916 nvgpu_err(g, "Channel %d to be removed from TSG %d has NEXT set!", 1916 nvgpu_log(g, gpu_dbg_info,
1917 "Channel %d to be removed from TSG %d has NEXT set!",
1917 ch->chid, ch->tsgid); 1918 ch->chid, ch->tsgid);
1918 return -EINVAL; 1919 return 0;
1919 } 1920 }
1920 1921
1921 if (g->ops.fifo.tsg_verify_status_ctx_reload) 1922 if (g->ops.fifo.tsg_verify_status_ctx_reload)