diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 12 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h | 24 |
2 files changed, 36 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 4d0de15f..306c4223 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -810,6 +810,18 @@ static int gr_gp10b_dump_gr_status_regs(struct gk20a *g, | |||
810 | gk20a_readl(g, gr_pri_bes_zrop_status_r())); | 810 | gk20a_readl(g, gr_pri_bes_zrop_status_r())); |
811 | gk20a_debug_output(o, "NV_PGRAPH_PRI_BES_ZROP_STATUS2 : 0x%x\n", | 811 | gk20a_debug_output(o, "NV_PGRAPH_PRI_BES_ZROP_STATUS2 : 0x%x\n", |
812 | gk20a_readl(g, gr_pri_bes_zrop_status2_r())); | 812 | gk20a_readl(g, gr_pri_bes_zrop_status2_r())); |
813 | gk20a_debug_output(o, "NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION: 0x%x\n", | ||
814 | gk20a_readl(g, gr_pri_be0_becs_be_exception_r())); | ||
815 | gk20a_debug_output(o, "NV_PGRAPH_PRI_BE0_BECS_BE_EXCEPTION_EN: 0x%x\n", | ||
816 | gk20a_readl(g, gr_pri_be0_becs_be_exception_en_r())); | ||
817 | gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION: 0x%x\n", | ||
818 | gk20a_readl(g, gr_pri_gpc0_gpccs_gpc_exception_r())); | ||
819 | gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_GPCCS_GPC_EXCEPTION_EN: 0x%x\n", | ||
820 | gk20a_readl(g, gr_pri_gpc0_gpccs_gpc_exception_en_r())); | ||
821 | gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION: 0x%x\n", | ||
822 | gk20a_readl(g, gr_pri_gpc0_tpc0_tpccs_tpc_exception_r())); | ||
823 | gk20a_debug_output(o, "NV_PGRAPH_PRI_GPC0_TPC0_TPCCS_TPC_EXCEPTION_EN: 0x%x\n", | ||
824 | gk20a_readl(g, gr_pri_gpc0_tpc0_tpccs_tpc_exception_en_r())); | ||
813 | return 0; | 825 | return 0; |
814 | } | 826 | } |
815 | 827 | ||
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h index ca425447..3ee1cbfe 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h | |||
@@ -286,6 +286,30 @@ static inline u32 gr_engine_status_value_busy_f(void) | |||
286 | { | 286 | { |
287 | return 0x1; | 287 | return 0x1; |
288 | } | 288 | } |
289 | static inline u32 gr_pri_be0_becs_be_exception_r(void) | ||
290 | { | ||
291 | return 0x00410204; | ||
292 | } | ||
293 | static inline u32 gr_pri_be0_becs_be_exception_en_r(void) | ||
294 | { | ||
295 | return 0x00410208; | ||
296 | } | ||
297 | static inline u32 gr_pri_gpc0_gpccs_gpc_exception_r(void) | ||
298 | { | ||
299 | return 0x00502c90; | ||
300 | } | ||
301 | static inline u32 gr_pri_gpc0_gpccs_gpc_exception_en_r(void) | ||
302 | { | ||
303 | return 0x00502c94; | ||
304 | } | ||
305 | static inline u32 gr_pri_gpc0_tpc0_tpccs_tpc_exception_r(void) | ||
306 | { | ||
307 | return 0x00504508; | ||
308 | } | ||
309 | static inline u32 gr_pri_gpc0_tpc0_tpccs_tpc_exception_en_r(void) | ||
310 | { | ||
311 | return 0x0050450c; | ||
312 | } | ||
289 | static inline u32 gr_activity_0_r(void) | 313 | static inline u32 gr_activity_0_r(void) |
290 | { | 314 | { |
291 | return 0x00400380; | 315 | return 0x00400380; |