diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-03-02 04:19:37 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:09:24 -0400 |
commit | 1b6372ec6b8704d6bacc6b8abf7e599f1cbc15ca (patch) | |
tree | ff7cad9958ff96b6aab61a481c3728635c12652a /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |
parent | 0ff7f65382d84f74902a8d2ead0ac3fac3ddad78 (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/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index d3345a51..ff698a51 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -298,6 +298,30 @@ static inline u32 gr_engine_status_value_busy_f(void) | |||
298 | { | 298 | { |
299 | return 0x1; | 299 | return 0x1; |
300 | } | 300 | } |
301 | static inline u32 gr_pri_be0_becs_be_exception_r(void) | ||
302 | { | ||
303 | return 0x00410204; | ||
304 | } | ||
305 | static inline u32 gr_pri_be0_becs_be_exception_en_r(void) | ||
306 | { | ||
307 | return 0x00410208; | ||
308 | } | ||
309 | static inline u32 gr_pri_gpc0_gpccs_gpc_exception_r(void) | ||
310 | { | ||
311 | return 0x00502c90; | ||
312 | } | ||
313 | static inline u32 gr_pri_gpc0_gpccs_gpc_exception_en_r(void) | ||
314 | { | ||
315 | return 0x00502c94; | ||
316 | } | ||
317 | static inline u32 gr_pri_gpc0_tpc0_tpccs_tpc_exception_r(void) | ||
318 | { | ||
319 | return 0x00504508; | ||
320 | } | ||
321 | static inline u32 gr_pri_gpc0_tpc0_tpccs_tpc_exception_en_r(void) | ||
322 | { | ||
323 | return 0x0050450c; | ||
324 | } | ||
301 | static inline u32 gr_activity_0_r(void) | 325 | static inline u32 gr_activity_0_r(void) |
302 | { | 326 | { |
303 | return 0x00400380; | 327 | return 0x00400380; |