summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 068eb070..8b07619d 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5267,8 +5267,8 @@ static int gk20a_gr_handle_firmware_method(struct gk20a *g,
5267 return -EINVAL; 5267 return -EINVAL;
5268} 5268}
5269 5269
5270static int gk20a_gr_handle_semaphore_pending(struct gk20a *g, 5270int gk20a_gr_handle_semaphore_pending(struct gk20a *g,
5271 struct gr_gk20a_isr_data *isr_data) 5271 struct gr_gk20a_isr_data *isr_data)
5272{ 5272{
5273 struct fifo_gk20a *f = &g->fifo; 5273 struct fifo_gk20a *f = &g->fifo;
5274 struct channel_gk20a *ch = &f->channel[isr_data->chid]; 5274 struct channel_gk20a *ch = &f->channel[isr_data->chid];
@@ -5896,7 +5896,7 @@ int gk20a_gr_isr(struct gk20a *g)
5896 } 5896 }
5897 5897
5898 if (gr_intr & gr_intr_semaphore_pending_f()) { 5898 if (gr_intr & gr_intr_semaphore_pending_f()) {
5899 gk20a_gr_handle_semaphore_pending(g, &isr_data); 5899 g->ops.gr.handle_semaphore_pending(g, &isr_data);
5900 gk20a_writel(g, gr_intr_r(), 5900 gk20a_writel(g, gr_intr_r(),
5901 gr_intr_semaphore_reset_f()); 5901 gr_intr_semaphore_reset_f());
5902 gr_intr &= ~gr_intr_semaphore_pending_f(); 5902 gr_intr &= ~gr_intr_semaphore_pending_f();