summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index d5131b7a..cc709c78 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -855,6 +855,9 @@ static int gr_gm20b_dump_gr_status_regs(struct gk20a *g,
855 struct gk20a_debug_output *o) 855 struct gk20a_debug_output *o)
856{ 856{
857 struct gr_gk20a *gr = &g->gr; 857 struct gr_gk20a *gr = &g->gr;
858 u32 gr_engine_id;
859
860 gr_engine_id = gk20a_fifo_get_gr_engine_id(g);
858 861
859 gk20a_debug_output(o, "NV_PGRAPH_STATUS: 0x%x\n", 862 gk20a_debug_output(o, "NV_PGRAPH_STATUS: 0x%x\n",
860 gk20a_readl(g, gr_status_r())); 863 gk20a_readl(g, gr_status_r()));
@@ -875,7 +878,7 @@ static int gr_gm20b_dump_gr_status_regs(struct gk20a *g,
875 gk20a_debug_output(o, "NV_PGRAPH_FECS_INTR : 0x%x\n", 878 gk20a_debug_output(o, "NV_PGRAPH_FECS_INTR : 0x%x\n",
876 gk20a_readl(g, gr_fecs_intr_r())); 879 gk20a_readl(g, gr_fecs_intr_r()));
877 gk20a_debug_output(o, "NV_PFIFO_ENGINE_STATUS(GR) : 0x%x\n", 880 gk20a_debug_output(o, "NV_PFIFO_ENGINE_STATUS(GR) : 0x%x\n",
878 gk20a_readl(g, fifo_engine_status_r(ENGINE_GR_GK20A))); 881 gk20a_readl(g, fifo_engine_status_r(gr_engine_id)));
879 gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY0: 0x%x\n", 882 gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY0: 0x%x\n",
880 gk20a_readl(g, gr_activity_0_r())); 883 gk20a_readl(g, gr_activity_0_r()));
881 gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY1: 0x%x\n", 884 gk20a_debug_output(o, "NV_PGRAPH_ACTIVITY1: 0x%x\n",