summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2015-03-02 04:19:37 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:09:24 -0400
commit1b6372ec6b8704d6bacc6b8abf7e599f1cbc15ca (patch)
treeff7cad9958ff96b6aab61a481c3728635c12652a /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parent0ff7f65382d84f74902a8d2ead0ac3fac3ddad78 (diff)
gpu: nvgpu: add exception registers to dump
Add below exception registers to GR dump : NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION_EN NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION_EN NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION_EN Bug 200078514 Change-Id: Ib0ec34f7bf5a136928c53cf8398b4929fb4639c5 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/712480 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index 79e46421..da1c1ab0 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -934,6 +934,18 @@ static int gr_gm20b_dump_gr_status_regs(struct gk20a *g,
934 gk20a_readl(g, gr_pri_bes_zrop_status_r())); 934 gk20a_readl(g, gr_pri_bes_zrop_status_r()));
935 gk20a_debug_output(o, "NV_PGRAPH_PRI_BES_ZROP_STATUS2 : 0x%x\n", 935 gk20a_debug_output(o, "NV_PGRAPH_PRI_BES_ZROP_STATUS2 : 0x%x\n",
936 gk20a_readl(g, gr_pri_bes_zrop_status2_r())); 936 gk20a_readl(g, gr_pri_bes_zrop_status2_r()));
937 gk20a_debug_output(o, "NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION: 0x%x\n",
938 gk20a_readl(g, gr_pri_be0_becs_be_exception_r()));
939 gk20a_debug_output(o, "NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION_EN: 0x%x\n",
940 gk20a_readl(g, gr_pri_be0_becs_be_exception_en_r()));
941 gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION: 0x%x\n",
942 gk20a_readl(g, gr_pri_gpc0_gpccs_gpc_exception_r()));
943 gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION_EN: 0x%x\n",
944 gk20a_readl(g, gr_pri_gpc0_gpccs_gpc_exception_en_r()));
945 gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION: 0x%x\n",
946 gk20a_readl(g, gr_pri_gpc0_tpc0_tpccs_tpc_exception_r()));
947 gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION_EN: 0x%x\n",
948 gk20a_readl(g, gr_pri_gpc0_tpc0_tpccs_tpc_exception_en_r()));
937 return 0; 949 return 0;
938} 950}
939 951