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 134a2480..2f7cb888 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1419,7 +1419,7 @@ int gk20a_fifo_force_reset_ch(struct channel_gk20a *ch, bool verbose)
1419 struct gk20a *g = ch->g; 1419 struct gk20a *g = ch->g;
1420 1420
1421 if (gk20a_is_channel_marked_as_tsg(ch)) { 1421 if (gk20a_is_channel_marked_as_tsg(ch)) {
1422 tsg = &g->fifo.tsg[ch->hw_chid]; 1422 tsg = &g->fifo.tsg[ch->tsgid];
1423 1423
1424 mutex_lock(&tsg->ch_list_lock); 1424 mutex_lock(&tsg->ch_list_lock);
1425 1425