diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 8e78b95e..9eb2204d 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1918,9 +1918,11 @@ int gk20a_fifo_tsg_unbind_channel_verify_status(struct channel_gk20a *ch) | |||
1918 | if (g->ops.fifo.tsg_verify_status_faulted) | 1918 | if (g->ops.fifo.tsg_verify_status_faulted) |
1919 | g->ops.fifo.tsg_verify_status_faulted(ch); | 1919 | g->ops.fifo.tsg_verify_status_faulted(ch); |
1920 | 1920 | ||
1921 | if (gk20a_fifo_channel_status_is_next(g, ch->chid)) | 1921 | if (gk20a_fifo_channel_status_is_next(g, ch->chid)) { |
1922 | nvgpu_err(g, "Channel %d to be removed from TSG has NEXT set!", | 1922 | nvgpu_err(g, "Channel %d to be removed from TSG %d has NEXT set!", |
1923 | ch->chid); | 1923 | ch->chid, ch->tsgid); |
1924 | return -EINVAL; | ||
1925 | } | ||
1924 | 1926 | ||
1925 | return 0; | 1927 | return 0; |
1926 | } | 1928 | } |