diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-08-24 17:59:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-29 19:14:40 -0400 |
commit | 7298414969ff659241f4fe1d8111bc54ae335d5e (patch) | |
tree | e72d6b500549e4e6e71b109b93389749392c61e2 /drivers | |
parent | 5286fd525731d19dfa07d5e6e49e8d0eef233531 (diff) |
gpu: nvgpu: fix reported interleave for TSGs
If a channel is part of a TSG, report TSG's
interleave in debugfs for sched parameters.
Bug 200228310
Change-Id: I2eeee7aacfa92f9d5fc367225a23a663ca6ac593
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1207304
(cherry picked from commit 1950ae679f112dcf24a7f3c695d4ab098de10326)
Reviewed-on: http://git-master/r/1208413
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 |
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 c18c7c94..ce211449 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -3147,7 +3147,7 @@ static int gk20a_fifo_sched_debugfs_seq_show( | |||
3147 | ch->tgid, | 3147 | ch->tgid, |
3148 | tsg ? tsg->timeslice_us : ch->timeslice_us, | 3148 | tsg ? tsg->timeslice_us : ch->timeslice_us, |
3149 | ch->timeout_ms_max, | 3149 | ch->timeout_ms_max, |
3150 | ch->interleave_level, | 3150 | tsg ? tsg->interleave_level : ch->interleave_level, |
3151 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->graphics_preempt_mode : -1, | 3151 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->graphics_preempt_mode : -1, |
3152 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->compute_preempt_mode : -1); | 3152 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->compute_preempt_mode : -1); |
3153 | gk20a_channel_put(ch); | 3153 | gk20a_channel_put(ch); |