summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/mc_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/mc_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/mc_gv11b.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/mc_gv11b.c b/drivers/gpu/nvgpu/gv11b/mc_gv11b.c
index c901fd76..8b8fcea0 100644
--- a/drivers/gpu/nvgpu/gv11b/mc_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/mc_gv11b.c
@@ -20,6 +20,7 @@
20#include "gp10b/mc_gp10b.h" 20#include "gp10b/mc_gp10b.h"
21 21
22#include "mc_gv11b.h" 22#include "mc_gv11b.h"
23#include "fb_gv11b.h"
23 24
24#include <nvgpu/hw/gv11b/hw_mc_gv11b.h> 25#include <nvgpu/hw/gv11b/hw_mc_gv11b.h>
25 26
@@ -47,6 +48,10 @@ static void mc_gv11b_intr_enable(struct gk20a *g)
47 | eng_intr_mask; 48 | eng_intr_mask;
48 gk20a_writel(g, mc_intr_en_set_r(NVGPU_MC_INTR_NONSTALLING), 49 gk20a_writel(g, mc_intr_en_set_r(NVGPU_MC_INTR_NONSTALLING),
49 g->ops.mc.intr_mask_restore[NVGPU_MC_INTR_NONSTALLING]); 50 g->ops.mc.intr_mask_restore[NVGPU_MC_INTR_NONSTALLING]);
51
52 /* TODO: Enable PRI faults for HUB ECC err intr */
53 gv11b_fb_enable_hub_intr(g, STALL_REG_INDEX,
54 HUB_INTR_TYPE_ECC_UNCORRECTED);
50} 55}
51 56
52static bool gv11b_mc_is_intr_hub_pending(struct gk20a *g, u32 mc_intr_0) 57static bool gv11b_mc_is_intr_hub_pending(struct gk20a *g, u32 mc_intr_0)