From 7298414969ff659241f4fe1d8111bc54ae335d5e Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Wed, 24 Aug 2016 14:59:14 -0700 Subject: 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 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 --- drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c') 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( ch->tgid, tsg ? tsg->timeslice_us : ch->timeslice_us, ch->timeout_ms_max, - ch->interleave_level, + tsg ? tsg->interleave_level : ch->interleave_level, ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->graphics_preempt_mode : -1, ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->compute_preempt_mode : -1); gk20a_channel_put(ch); -- cgit v1.2.2