From 2d4024b0e6ed9e0bec144a3f56c8c0a6b3ab8f96 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Thu, 28 Sep 2017 11:19:23 -0700 Subject: gpu: nvgpu: use priv_ring.isr gops Use priv_ring.isr gops to call priv ring interrupt handler Bug 200350539 Change-Id: I21b39bd19d281290fee6728286b0a24a32358ae4 Signed-off-by: Seema Khowala Reviewed-on: https://git-master.nvidia.com/r/1570372 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/mc_gk20a.c | 2 +- drivers/gpu/nvgpu/gp10b/mc_gp10b.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/gk20a/mc_gk20a.c b/drivers/gpu/nvgpu/gk20a/mc_gk20a.c index ec507e07..9d9256bd 100644 --- a/drivers/gpu/nvgpu/gk20a/mc_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mc_gk20a.c @@ -69,7 +69,7 @@ void mc_gk20a_isr_stall(struct gk20a *g) if (mc_intr_0 & mc_intr_0_pmu_pending_f()) gk20a_pmu_isr(g); if (mc_intr_0 & mc_intr_0_priv_ring_pending_f()) - gk20a_priv_ring_isr(g); + g->ops.priv_ring.isr(g); if (mc_intr_0 & mc_intr_0_ltc_pending_f()) g->ops.ltc.isr(g); if (mc_intr_0 & mc_intr_0_pbus_pending_f()) diff --git a/drivers/gpu/nvgpu/gp10b/mc_gp10b.c b/drivers/gpu/nvgpu/gp10b/mc_gp10b.c index 4541cedd..9aea76f9 100644 --- a/drivers/gpu/nvgpu/gp10b/mc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/mc_gp10b.c @@ -117,7 +117,7 @@ void mc_gp10b_isr_stall(struct gk20a *g) if (mc_intr_0 & mc_intr_pmu_pending_f()) gk20a_pmu_isr(g); if (mc_intr_0 & mc_intr_priv_ring_pending_f()) - gk20a_priv_ring_isr(g); + g->ops.priv_ring.isr(g); if (mc_intr_0 & mc_intr_ltc_pending_f()) g->ops.ltc.isr(g); if (mc_intr_0 & mc_intr_pbus_pending_f()) -- cgit v1.2.2