summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h
index 8655a0d3..826108f1 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h
@@ -996,6 +996,10 @@ static inline u32 gr_fecs_host_int_status_umimp_illegal_method_f(u32 v)
996{ 996{
997 return (v & 0x1U) << 18U; 997 return (v & 0x1U) << 18U;
998} 998}
999static inline u32 gr_fecs_host_int_status_watchdog_active_f(void)
1000{
1001 return 0x80000U;
1002}
999static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v) 1003static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v)
1000{ 1004{
1001 return (v & 0xffffU) << 0U; 1005 return (v & 0xffffU) << 0U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h
index be05d031..5bbb3b9f 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h
@@ -1012,6 +1012,10 @@ static inline u32 gr_fecs_host_int_status_umimp_illegal_method_f(u32 v)
1012{ 1012{
1013 return (v & 0x1U) << 18U; 1013 return (v & 0x1U) << 18U;
1014} 1014}
1015static inline u32 gr_fecs_host_int_status_watchdog_active_f(void)
1016{
1017 return 0x80000U;
1018}
1015static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v) 1019static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v)
1016{ 1020{
1017 return (v & 0xffffU) << 0U; 1021 return (v & 0xffffU) << 0U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
index efd8b555..f7bc4c23 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
@@ -1200,6 +1200,10 @@ static inline u32 gr_fecs_host_int_status_umimp_illegal_method_f(u32 v)
1200{ 1200{
1201 return (v & 0x1U) << 18U; 1201 return (v & 0x1U) << 18U;
1202} 1202}
1203static inline u32 gr_fecs_host_int_status_watchdog_active_f(void)
1204{
1205 return 0x80000U;
1206}
1203static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v) 1207static inline u32 gr_fecs_host_int_status_ctxsw_intr_f(u32 v)
1204{ 1208{
1205 return (v & 0xffffU) << 0U; 1209 return (v & 0xffffU) << 0U;
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;