mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: gv11b: Use g->name instead of dev_name()
Dump device name using g->name instead of dev_name(). dev_name() is Linux specific. Change-Id: I65eb89e41ca81ca6143fb247a10c306b4efc96ad Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master/r/1512176 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
6d758eb81b
commit
efd9ba3a79
@@ -288,7 +288,7 @@ static 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,
|
||||
dev_name(g->dev),
|
||||
g->name,
|
||||
ch_state->pid,
|
||||
ch_state->refs);
|
||||
gk20a_debug_output(o, "channel status: %s in use %s %s\n",
|
||||
@@ -333,7 +333,7 @@ static void gv11b_dump_eng_status(struct gk20a *g,
|
||||
u32 status = gk20a_readl(g, fifo_engine_status_r(i));
|
||||
u32 ctx_status = fifo_engine_status_ctx_status_v(status);
|
||||
|
||||
gk20a_debug_output(o, "%s eng %d: ", dev_name(g->dev), i);
|
||||
gk20a_debug_output(o, "%s eng %d: ", g->name, i);
|
||||
gk20a_debug_output(o,
|
||||
"id: %d (%s), next_id: %d (%s), ctx status: %s ",
|
||||
fifo_engine_status_id_v(status),
|
||||
|
||||
Reference in New Issue
Block a user