summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2018-09-04 16:38:28 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-14 18:34:03 -0400
commit356ebcef230466c05ad8e478a50271218b9a40ad (patch)
tree3c238e4a13876fd52ad0c0d7cb35ada4512990f2 /drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
parent0ece054d13a67ab01a1074bd7f06f941593251dc (diff)
gpu: nvgpu: dump falcon stats for fecs watchdog
After fecs watchdog gets triggered, system will not do anything useful as it cannot context switch. Dumping falcon stats will help debug the issue since s/w is not triggering recovery. Bug 2113657 Change-Id: I03ccd5ad7c03daac0581775dc615174cc0e77328 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1812720 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
index 588452cd..36a7ebf5 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
@@ -2032,6 +2032,10 @@ static inline u32 gr_fecs_host_int_status_umimp_illegal_method_f(u32 v)
2032{ 2032{
2033 return (v & 0x1U) << 18U; 2033 return (v & 0x1U) << 18U;
2034} 2034}
2035static inline u32 gr_fecs_host_int_status_watchdog_active_f(void)
2036{
2037 return 0x80000U;
2038}
2035static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v) 2039static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v)
2036{ 2040{
2037 return (v & 0xffffU) << 0U; 2041 return (v & 0xffffU) << 0U;