summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 848e5123..6544a652 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1912,18 +1912,18 @@ int gk20a_fifo_tsg_unbind_channel_verify_status(struct channel_gk20a *ch)
1912{ 1912{
1913 struct gk20a *g = ch->g; 1913 struct gk20a *g = ch->g;
1914 1914
1915 if (g->ops.fifo.tsg_verify_status_ctx_reload)
1916 g->ops.fifo.tsg_verify_status_ctx_reload(ch);
1917
1918 if (g->ops.fifo.tsg_verify_status_faulted)
1919 g->ops.fifo.tsg_verify_status_faulted(ch);
1920
1921 if (gk20a_fifo_channel_status_is_next(g, ch->chid)) { 1915 if (gk20a_fifo_channel_status_is_next(g, ch->chid)) {
1922 nvgpu_err(g, "Channel %d to be removed from TSG %d has NEXT set!", 1916 nvgpu_err(g, "Channel %d to be removed from TSG %d has NEXT set!",
1923 ch->chid, ch->tsgid); 1917 ch->chid, ch->tsgid);
1924 return -EINVAL; 1918 return -EINVAL;
1925 } 1919 }
1926 1920
1921 if (g->ops.fifo.tsg_verify_status_ctx_reload)
1922 g->ops.fifo.tsg_verify_status_ctx_reload(ch);
1923
1924 if (g->ops.fifo.tsg_verify_status_faulted)
1925 g->ops.fifo.tsg_verify_status_faulted(ch);
1926
1927 return 0; 1927 return 0;
1928} 1928}
1929 1929