mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: unify channel status dump styles
Add tsgid to older chips' dump where it was missing and add the deterministic flag to newer chips' dump where it was missing. Jira NVGPU-886 Change-Id: Ia21d7c6709ee2863293c48dc0c04a1e4b8783963 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1933492 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c4ac6bb410
commit
ad6b7d419b
@@ -4111,9 +4111,10 @@ void gk20a_dump_channel_status_ramfc(struct gk20a *g,
|
||||
syncpointa = info->inst.syncpointa;
|
||||
syncpointb = info->inst.syncpointb;
|
||||
|
||||
gk20a_debug_output(o, "%d-%s, pid %d, refs %d%s: ",
|
||||
gk20a_debug_output(o, "%d-%s, TSG: %u, pid %d, refs %d%s: ",
|
||||
info->chid,
|
||||
g->name,
|
||||
info->tsgid,
|
||||
info->pid,
|
||||
info->refs,
|
||||
info->deterministic ? ", deterministic" : "");
|
||||
|
||||
@@ -336,12 +336,13 @@ void gv11b_dump_channel_status_ramfc(struct gk20a *g,
|
||||
|
||||
status = ccsr_channel_status_v(info->channel_reg);
|
||||
|
||||
gk20a_debug_output(o, "%d-%s, TSG: %u, pid %d, refs: %d: ",
|
||||
gk20a_debug_output(o, "%d-%s, TSG: %u, pid %d, refs: %d%s: ",
|
||||
info->chid,
|
||||
g->name,
|
||||
info->tsgid,
|
||||
info->pid,
|
||||
info->refs);
|
||||
info->refs,
|
||||
info->deterministic ? ", deterministic" : "");
|
||||
gk20a_debug_output(o, "channel status: %s in use %s %s\n",
|
||||
ccsr_channel_enable_v(info->channel_reg) ? "" : "not",
|
||||
gk20a_decode_ccsr_chan_status(status),
|
||||
|
||||
Reference in New Issue
Block a user