diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-03-17 14:09:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-23 11:44:07 -0400 |
commit | 4492c62ffe9398bd4457f6f1c2773e40afe909fb (patch) | |
tree | 5d792f81d97844278f4eca665a8b4778fa93dc35 /drivers/gpu/nvgpu/gk20a/mc_gk20a.c | |
parent | 33f637585ecd617a9f4423f56e2aa6df0691ac64 (diff) |
gpu: nvgpu: Add bus HAL
Add bus HAL and move all bus related hardware sequencing to that file:
BAR1 binding, timer access, and interrupt handling.
Change-Id: Ibc5f5797dc338de10749b446a7bdbcae600fecb4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1323353
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mc_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mc_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mc_gk20a.c b/drivers/gpu/nvgpu/gk20a/mc_gk20a.c index a1861b0d..e51c4a29 100644 --- a/drivers/gpu/nvgpu/gk20a/mc_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mc_gk20a.c | |||
@@ -150,7 +150,7 @@ irqreturn_t mc_gk20a_intr_thread_stall(struct gk20a *g) | |||
150 | if (mc_intr_0 & mc_intr_0_ltc_pending_f()) | 150 | if (mc_intr_0 & mc_intr_0_ltc_pending_f()) |
151 | g->ops.ltc.isr(g); | 151 | g->ops.ltc.isr(g); |
152 | if (mc_intr_0 & mc_intr_0_pbus_pending_f()) | 152 | if (mc_intr_0 & mc_intr_0_pbus_pending_f()) |
153 | gk20a_pbus_isr(g); | 153 | g->ops.bus.isr(g); |
154 | 154 | ||
155 | /* sync handled irq counter before re-enabling interrupts */ | 155 | /* sync handled irq counter before re-enabling interrupts */ |
156 | atomic_set(&g->sw_irq_stall_last_handled, hw_irq_count); | 156 | atomic_set(&g->sw_irq_stall_last_handled, hw_irq_count); |