summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index ae2b6cfc..d90c622d 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -560,7 +560,7 @@ static void gv11b_reset_eng_faulted_tsg(struct tsg_gk20a *tsg)
560 struct channel_gk20a *ch; 560 struct channel_gk20a *ch;
561 561
562 nvgpu_rwsem_down_read(&tsg->ch_list_lock); 562 nvgpu_rwsem_down_read(&tsg->ch_list_lock);
563 list_for_each_entry(ch, &tsg->ch_list, ch_entry) { 563 nvgpu_list_for_each_entry(ch, &tsg->ch_list, channel_gk20a, ch_entry) {
564 gv11b_reset_eng_faulted_ch(g, ch->chid); 564 gv11b_reset_eng_faulted_ch(g, ch->chid);
565 } 565 }
566 nvgpu_rwsem_up_read(&tsg->ch_list_lock); 566 nvgpu_rwsem_up_read(&tsg->ch_list_lock);
@@ -581,7 +581,7 @@ static void gv11b_reset_pbdma_faulted_tsg(struct tsg_gk20a *tsg)
581 struct channel_gk20a *ch; 581 struct channel_gk20a *ch;
582 582
583 nvgpu_rwsem_down_read(&tsg->ch_list_lock); 583 nvgpu_rwsem_down_read(&tsg->ch_list_lock);
584 list_for_each_entry(ch, &tsg->ch_list, ch_entry) { 584 nvgpu_list_for_each_entry(ch, &tsg->ch_list, channel_gk20a, ch_entry) {
585 gv11b_reset_pbdma_faulted_ch(g, ch->chid); 585 gv11b_reset_pbdma_faulted_ch(g, ch->chid);
586 } 586 }
587 nvgpu_rwsem_up_read(&tsg->ch_list_lock); 587 nvgpu_rwsem_up_read(&tsg->ch_list_lock);