summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mc_gp10b.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2014-12-09 01:18:54 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:03 -0500
commitd40f3fb2731b9e0586677026dcdeaabf63398933 (patch)
treebfdb5333339f4afc2d5b0a0a351258a09eb7c45f /drivers/gpu/nvgpu/gp10b/mc_gp10b.h
parent5452d161544f40778f75dda06bfddb14bcb48707 (diff)
gpu: nvgpu: Handle MC pmu interrupts
- Made changes to MC to get pmu interrrupts Change-Id: I07aaec8392b1fbb34ae727bc7547a571aaeeb814 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/661212 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mc_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mc_gp10b.h7
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
16struct gk20a; 16struct gk20a;
17 17
18enum MC_INTERRUPT_REGLIST {
19 NVGPU_MC_INTR_STALLING = 0,
20 NVGPU_MC_INTR_NONSTALLING,
21};
22
18void gp10b_init_mc(struct gpu_ops *gops); 23void gp10b_init_mc(struct gpu_ops *gops);
19void mc_gp10b_intr_enable(struct gk20a *g); 24void mc_gp10b_intr_enable(struct gk20a *g);
25void mc_gp10b_intr_unit_config(struct gk20a *g, bool enable,
26 bool is_stalling, u32 mask);
20irqreturn_t mc_gp10b_isr_stall(struct gk20a *g); 27irqreturn_t mc_gp10b_isr_stall(struct gk20a *g);
21irqreturn_t mc_gp10b_isr_nonstall(struct gk20a *g); 28irqreturn_t mc_gp10b_isr_nonstall(struct gk20a *g);
22irqreturn_t mc_gp10b_intr_thread_stall(struct gk20a *g); 29irqreturn_t mc_gp10b_intr_thread_stall(struct gk20a *g);