summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_fifo.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_fifo.c b/drivers/gpu/nvgpu/common/linux/debug_fifo.c
index 6a28b1a5..04937dbe 100644
--- a/drivers/gpu/nvgpu/common/linux/debug_fifo.c
+++ b/drivers/gpu/nvgpu/common/linux/debug_fifo.c
@@ -77,7 +77,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
77 ret = 0; 77 ret = 0;
78 } 78 }
79 79
80 if (!test_bit(ch->hw_chid, runlist->active_channels)) 80 if (!test_bit(ch->chid, runlist->active_channels))
81 return ret; 81 return ret;
82 82
83 if (gk20a_channel_get(ch)) { 83 if (gk20a_channel_get(ch)) {
@@ -85,7 +85,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
85 tsg = &f->tsg[ch->tsgid]; 85 tsg = &f->tsg[ch->tsgid];
86 86
87 seq_printf(s, "%-8d %-8d %-8d %-9d %-8d %-10d %-8d %-8d\n", 87 seq_printf(s, "%-8d %-8d %-8d %-9d %-8d %-10d %-8d %-8d\n",
88 ch->hw_chid, 88 ch->chid,
89 ch->tsgid, 89 ch->tsgid,
90 ch->tgid, 90 ch->tgid,
91 tsg ? tsg->timeslice_us : ch->timeslice_us, 91 tsg ? tsg->timeslice_us : ch->timeslice_us,