From c309f2c9d81aa5d5f023f00f97ad5e5f389a598b Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Thu, 4 Oct 2018 16:31:15 +0530 Subject: [PATCH] gpu: nvgpu: dump TSG id in channel status Current channel status dump does not give clear idea on which channels are bound to which TSG Dump TSG id in channel status dump to give more debug information Change-Id: Ie19e63e8e67a0a0ccf04ce140e1e80e5c1c528ea Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1919125 Reviewed-by: svc-misra-checker Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index 34e9cd5f3..4b3d8ce06 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c @@ -311,8 +311,9 @@ void gv11b_dump_channel_status_ramfc(struct gk20a *g, inst_mem = &ch_state->inst_block[0]; - gk20a_debug_output(o, "%d-%s, pid %d, refs: %d: ", chid, + gk20a_debug_output(o, "%d-%s, TSG: %u, pid %d, refs: %d: ", chid, g->name, + c->tsgid, ch_state->pid, ch_state->refs); gk20a_debug_output(o, "channel status: %s in use %s %s\n",