summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ce_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ce_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/ce_gp10b.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ce_gp10b.c b/drivers/gpu/nvgpu/gp10b/ce_gp10b.c
index 1fff37fb..59a6ee21 100644
--- a/drivers/gpu/nvgpu/gp10b/ce_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/ce_gp10b.c
@@ -54,7 +54,7 @@ void gp10b_ce_isr(struct gk20a *g, u32 inst_id, u32 pri_base)
54 return; 54 return;
55} 55}
56 56
57static int gp10b_ce_nonstall_isr(struct gk20a *g, u32 inst_id, u32 pri_base) 57int gp10b_ce_nonstall_isr(struct gk20a *g, u32 inst_id, u32 pri_base)
58{ 58{
59 int ops = 0; 59 int ops = 0;
60 u32 ce_intr = gk20a_readl(g, ce_intr_status_r(inst_id)); 60 u32 ce_intr = gk20a_readl(g, ce_intr_status_r(inst_id));
@@ -70,8 +70,3 @@ static int gp10b_ce_nonstall_isr(struct gk20a *g, u32 inst_id, u32 pri_base)
70 70
71 return ops; 71 return ops;
72} 72}
73void gp10b_init_ce(struct gpu_ops *gops)
74{
75 gops->ce2.isr_stall = gp10b_ce_isr;
76 gops->ce2.isr_nonstall = gp10b_ce_nonstall_isr;
77}