diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/gk20a.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h index 8627fddd..5a9c56e0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h | |||
@@ -1156,7 +1156,7 @@ struct gpu_ops { | |||
1156 | void (*intr_mask)(struct gk20a *g); | 1156 | void (*intr_mask)(struct gk20a *g); |
1157 | void (*intr_enable)(struct gk20a *g); | 1157 | void (*intr_enable)(struct gk20a *g); |
1158 | void (*intr_unit_config)(struct gk20a *g, | 1158 | void (*intr_unit_config)(struct gk20a *g, |
1159 | bool enable, bool is_stalling, u32 unit); | 1159 | bool enable, bool is_stalling, u32 mask); |
1160 | void (*isr_stall)(struct gk20a *g); | 1160 | void (*isr_stall)(struct gk20a *g); |
1161 | bool (*is_intr_hub_pending)(struct gk20a *g, u32 mc_intr); | 1161 | bool (*is_intr_hub_pending)(struct gk20a *g, u32 mc_intr); |
1162 | bool (*is_intr_nvlink_pending)(struct gk20a *g, u32 mc_intr); | 1162 | bool (*is_intr_nvlink_pending)(struct gk20a *g, u32 mc_intr); |
@@ -1172,9 +1172,11 @@ struct gpu_ops { | |||
1172 | void (*enable)(struct gk20a *g, u32 units); | 1172 | void (*enable)(struct gk20a *g, u32 units); |
1173 | void (*disable)(struct gk20a *g, u32 units); | 1173 | void (*disable)(struct gk20a *g, u32 units); |
1174 | void (*reset)(struct gk20a *g, u32 units); | 1174 | void (*reset)(struct gk20a *g, u32 units); |
1175 | bool (*is_enabled)(struct gk20a *g, enum nvgpu_unit unit); | ||
1175 | bool (*is_intr1_pending)(struct gk20a *g, enum nvgpu_unit unit, u32 mc_intr_1); | 1176 | bool (*is_intr1_pending)(struct gk20a *g, enum nvgpu_unit unit, u32 mc_intr_1); |
1176 | void (*log_pending_intrs)(struct gk20a *g); | 1177 | void (*log_pending_intrs)(struct gk20a *g); |
1177 | void (*fbpa_isr)(struct gk20a *g); | 1178 | void (*fbpa_isr)(struct gk20a *g); |
1179 | u32 (*reset_mask)(struct gk20a *g, enum nvgpu_unit unit); | ||
1178 | } mc; | 1180 | } mc; |
1179 | struct { | 1181 | struct { |
1180 | void (*show_dump)(struct gk20a *g, | 1182 | void (*show_dump)(struct gk20a *g, |