summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 51bb2551..d26d8a93 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -155,8 +155,10 @@ void gk20a_fecs_dump_falcon_stats(struct gk20a *g)
155 gk20a_readl(g, gr_fecs_debug1_r())); 155 gk20a_readl(g, gr_fecs_debug1_r()));
156 nvgpu_err(g, "gr_fecs_debuginfo_r : 0x%x", 156 nvgpu_err(g, "gr_fecs_debuginfo_r : 0x%x",
157 gk20a_readl(g, gr_fecs_debuginfo_r())); 157 gk20a_readl(g, gr_fecs_debuginfo_r()));
158 nvgpu_err(g, "gr_fecs_ctxsw_status_1_r : 0x%x",
159 gk20a_readl(g, gr_fecs_ctxsw_status_1_r()));
158 160
159 for (i = 0; i < gr_fecs_ctxsw_mailbox__size_1_v(); i++) 161 for (i = 0; i < g->ops.gr.fecs_ctxsw_mailbox_size(); i++)
160 nvgpu_err(g, "gr_fecs_ctxsw_mailbox_r(%d) : 0x%x", 162 nvgpu_err(g, "gr_fecs_ctxsw_mailbox_r(%d) : 0x%x",
161 i, gk20a_readl(g, gr_fecs_ctxsw_mailbox_r(i))); 163 i, gk20a_readl(g, gr_fecs_ctxsw_mailbox_r(i)));
162 164