diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h index a57ea97a..e4bbf23f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h | |||
@@ -104,6 +104,22 @@ static inline u32 minion_falcon_irqstat_halt_v(u32 r) | |||
104 | { | 104 | { |
105 | return (r >> 4U) & 0x1U; | 105 | return (r >> 4U) & 0x1U; |
106 | } | 106 | } |
107 | static inline u32 minion_falcon_irqstat_exterr_f(u32 v) | ||
108 | { | ||
109 | return (v & 0x1U) << 5U; | ||
110 | } | ||
111 | static inline u32 minion_falcon_irqstat_exterr_v(u32 r) | ||
112 | { | ||
113 | return (r >> 5U) & 0x1U; | ||
114 | } | ||
115 | static inline u32 minion_falcon_irqstat_exterr_true_v(void) | ||
116 | { | ||
117 | return 0x00000001U; | ||
118 | } | ||
119 | static inline u32 minion_falcon_irqstat_exterr_true_f(void) | ||
120 | { | ||
121 | return 0x20U; | ||
122 | } | ||
107 | static inline u32 minion_falcon_irqmask_r(void) | 123 | static inline u32 minion_falcon_irqmask_r(void) |
108 | { | 124 | { |
109 | return 0x00000018U; | 125 | return 0x00000018U; |