diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index ad8e4eff..a4301fa9 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1062,6 +1062,9 @@ static int gr_gv11b_dump_gr_status_regs(struct gk20a *g, | |||
1062 | struct gk20a_debug_output *o) | 1062 | struct gk20a_debug_output *o) |
1063 | { | 1063 | { |
1064 | struct gr_gk20a *gr = &g->gr; | 1064 | struct gr_gk20a *gr = &g->gr; |
1065 | u32 gr_engine_id; | ||
1066 | |||
1067 | gr_engine_id = gk20a_fifo_get_gr_engine_id(g); | ||
1065 | 1068 | ||
1066 | gk20a_debug_output(o, "NV_PGRAPH_STATUS: 0x%x\n", | 1069 | gk20a_debug_output(o, "NV_PGRAPH_STATUS: 0x%x\n", |
1067 | gk20a_readl(g, gr_status_r())); | 1070 | gk20a_readl(g, gr_status_r())); |
@@ -1082,7 +1085,7 @@ static int gr_gv11b_dump_gr_status_regs(struct gk20a *g, | |||
1082 | gk20a_debug_output(o, "NV_PGRAPH_FECS_INTR : 0x%x\n", | 1085 | gk20a_debug_output(o, "NV_PGRAPH_FECS_INTR : 0x%x\n", |
1083 | gk20a_readl(g, gr_fecs_intr_r())); | 1086 | gk20a_readl(g, gr_fecs_intr_r())); |
1084 | gk20a_debug_output(o, "NV_PFIFO_ENGINE_STATUS(GR) : 0x%x\n", | 1087 | gk20a_debug_output(o, "NV_PFIFO_ENGINE_STATUS(GR) : 0x%x\n", |
1085 | gk20a_readl(g, fifo_engine_status_r(ENGINE_GR_GK20A))); | 1088 | gk20a_readl(g, fifo_engine_status_r(gr_engine_id))); |
1086 | gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY0: 0x%x\n", | 1089 | gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY0: 0x%x\n", |
1087 | gk20a_readl(g, gr_activity_0_r())); | 1090 | gk20a_readl(g, gr_activity_0_r())); |
1088 | gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY1: 0x%x\n", | 1091 | gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY1: 0x%x\n", |