diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 121e442c..7875d621 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -544,7 +544,7 @@ static irqreturn_t gk20a_intr_isr_nonstall(int irq, void *dev_id) | |||
544 | 544 | ||
545 | void gk20a_pbus_isr(struct gk20a *g) | 545 | void gk20a_pbus_isr(struct gk20a *g) |
546 | { | 546 | { |
547 | u32 val; | 547 | u32 val, err_code; |
548 | val = gk20a_readl(g, bus_intr_0_r()); | 548 | val = gk20a_readl(g, bus_intr_0_r()); |
549 | if (val & (bus_intr_0_pri_squash_m() | | 549 | if (val & (bus_intr_0_pri_squash_m() | |
550 | bus_intr_0_pri_fecserr_m() | | 550 | bus_intr_0_pri_fecserr_m() | |
@@ -557,9 +557,15 @@ void gk20a_pbus_isr(struct gk20a *g) | |||
557 | gk20a_err(&g->dev->dev, | 557 | gk20a_err(&g->dev->dev, |
558 | "NV_PTIMER_PRI_TIMEOUT_SAVE_1: 0x%x\n", | 558 | "NV_PTIMER_PRI_TIMEOUT_SAVE_1: 0x%x\n", |
559 | gk20a_readl(g, timer_pri_timeout_save_1_r())); | 559 | gk20a_readl(g, timer_pri_timeout_save_1_r())); |
560 | err_code = gk20a_readl(g, timer_pri_timeout_fecs_errcode_r()); | ||
560 | gk20a_err(&g->dev->dev, | 561 | gk20a_err(&g->dev->dev, |
561 | "NV_PTIMER_PRI_TIMEOUT_FECS_ERRCODE: 0x%x\n", | 562 | "NV_PTIMER_PRI_TIMEOUT_FECS_ERRCODE: 0x%x\n", |
562 | gk20a_readl(g, timer_pri_timeout_fecs_errcode_r())); | 563 | err_code); |
564 | if (err_code == 0xbadf13) | ||
565 | gk20a_err(&g->dev->dev, | ||
566 | "NV_PGRAPH_PRI_GPC0_GPCCS_FS_GPC: 0x%x\n", | ||
567 | gk20a_readl(g, gr_gpc0_fs_gpc_r())); | ||
568 | |||
563 | } | 569 | } |
564 | 570 | ||
565 | if (val) | 571 | if (val) |