summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 56ff4c87..6383b8c8 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1779,7 +1779,7 @@ static int gk20a_fifo_update_runlist_locked(struct gk20a *g, u32 runlist_id,
1779 if (test_and_set_bit(hw_chid, 1779 if (test_and_set_bit(hw_chid,
1780 runlist->active_channels) == 1) 1780 runlist->active_channels) == 1)
1781 return 0; 1781 return 0;
1782 if (tsg && ++tsg->num_active_channels > 0) 1782 if (tsg && ++tsg->num_active_channels)
1783 set_bit(f->channel[hw_chid].tsgid, 1783 set_bit(f->channel[hw_chid].tsgid,
1784 runlist->active_tsgs); 1784 runlist->active_tsgs);
1785 } else { 1785 } else {