diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mc_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mc_gp10b.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mc_gp10b.h b/drivers/gpu/nvgpu/gp10b/mc_gp10b.h index f274ce05..b2ec4be4 100644 --- a/drivers/gpu/nvgpu/gp10b/mc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/mc_gp10b.h | |||
@@ -15,8 +15,15 @@ | |||
15 | #define MC_GP20B_H | 15 | #define MC_GP20B_H |
16 | struct gk20a; | 16 | struct gk20a; |
17 | 17 | ||
18 | enum MC_INTERRUPT_REGLIST { | ||
19 | NVGPU_MC_INTR_STALLING = 0, | ||
20 | NVGPU_MC_INTR_NONSTALLING, | ||
21 | }; | ||
22 | |||
18 | void gp10b_init_mc(struct gpu_ops *gops); | 23 | void gp10b_init_mc(struct gpu_ops *gops); |
19 | void mc_gp10b_intr_enable(struct gk20a *g); | 24 | void mc_gp10b_intr_enable(struct gk20a *g); |
25 | void mc_gp10b_intr_unit_config(struct gk20a *g, bool enable, | ||
26 | bool is_stalling, u32 mask); | ||
20 | irqreturn_t mc_gp10b_isr_stall(struct gk20a *g); | 27 | irqreturn_t mc_gp10b_isr_stall(struct gk20a *g); |
21 | irqreturn_t mc_gp10b_isr_nonstall(struct gk20a *g); | 28 | irqreturn_t mc_gp10b_isr_nonstall(struct gk20a *g); |
22 | irqreturn_t mc_gp10b_intr_thread_stall(struct gk20a *g); | 29 | irqreturn_t mc_gp10b_intr_thread_stall(struct gk20a *g); |