summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index d729d273..767e9d47 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -25,6 +25,7 @@
25#include "gk20a/platform_gk20a.h" 25#include "gk20a/platform_gk20a.h"
26#include "clk/clk.h" 26#include "clk/clk.h"
27#include "module.h" 27#include "module.h"
28#include "intr.h"
28 29
29#include "pci.h" 30#include "pci.h"
30 31
@@ -232,7 +233,7 @@ static irqreturn_t nvgpu_pci_isr(int irq, void *dev_id)
232 irqreturn_t ret_stall; 233 irqreturn_t ret_stall;
233 irqreturn_t ret_nonstall; 234 irqreturn_t ret_nonstall;
234 235
235 ret_stall = g->ops.mc.isr_stall(g); 236 ret_stall = nvgpu_intr_stall(g);
236 ret_nonstall = g->ops.mc.isr_nonstall(g); 237 ret_nonstall = g->ops.mc.isr_nonstall(g);
237 238
238#if defined(CONFIG_PCI_MSI) 239#if defined(CONFIG_PCI_MSI)
@@ -248,9 +249,7 @@ static irqreturn_t nvgpu_pci_intr_thread(int irq, void *dev_id)
248{ 249{
249 struct gk20a *g = dev_id; 250 struct gk20a *g = dev_id;
250 251
251 g->ops.mc.isr_thread_stall(g); 252 return nvgpu_intr_thread_stall(g);
252
253 return IRQ_HANDLED;
254} 253}
255 254
256static int nvgpu_pci_init_support(struct pci_dev *pdev) 255static int nvgpu_pci_init_support(struct pci_dev *pdev)