summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fb_gv11b.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
index 8bbde5c3..47369523 100644
--- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
@@ -501,7 +501,7 @@ void gv11b_fb_disable_hub_intr(struct gk20a *g,
501 gv11b_fb_intr_en_clr(g, index, mask); 501 gv11b_fb_intr_en_clr(g, index, mask);
502} 502}
503 503
504static void gv11b_handle_l2tlb_ecc_isr(struct gk20a *g, u32 ecc_status) 504void gv11b_handle_l2tlb_ecc_isr(struct gk20a *g, u32 ecc_status)
505{ 505{
506 u32 ecc_addr, corrected_cnt, uncorrected_cnt; 506 u32 ecc_addr, corrected_cnt, uncorrected_cnt;
507 u32 corrected_delta, uncorrected_delta; 507 u32 corrected_delta, uncorrected_delta;
@@ -559,7 +559,7 @@ static void gv11b_handle_l2tlb_ecc_isr(struct gk20a *g, u32 ecc_status)
559 g->ecc.fb.mmu_l2tlb_uncorrected_err_count.counters[0]); 559 g->ecc.fb.mmu_l2tlb_uncorrected_err_count.counters[0]);
560} 560}
561 561
562static void gv11b_handle_hubtlb_ecc_isr(struct gk20a *g, u32 ecc_status) 562void gv11b_handle_hubtlb_ecc_isr(struct gk20a *g, u32 ecc_status)
563{ 563{
564 u32 ecc_addr, corrected_cnt, uncorrected_cnt; 564 u32 ecc_addr, corrected_cnt, uncorrected_cnt;
565 u32 corrected_delta, uncorrected_delta; 565 u32 corrected_delta, uncorrected_delta;
@@ -617,7 +617,7 @@ static void gv11b_handle_hubtlb_ecc_isr(struct gk20a *g, u32 ecc_status)
617 g->ecc.fb.mmu_hubtlb_uncorrected_err_count.counters[0]); 617 g->ecc.fb.mmu_hubtlb_uncorrected_err_count.counters[0]);
618} 618}
619 619
620static void gv11b_handle_fillunit_ecc_isr(struct gk20a *g, u32 ecc_status) 620void gv11b_handle_fillunit_ecc_isr(struct gk20a *g, u32 ecc_status)
621{ 621{
622 u32 ecc_addr, corrected_cnt, uncorrected_cnt; 622 u32 ecc_addr, corrected_cnt, uncorrected_cnt;
623 u32 corrected_delta, uncorrected_delta; 623 u32 corrected_delta, uncorrected_delta;
@@ -992,7 +992,7 @@ static int gv11b_fb_replay_or_cancel_faults(struct gk20a *g,
992 return err; 992 return err;
993} 993}
994 994
995static void gv11b_fb_handle_mmu_nonreplay_replay_fault(struct gk20a *g, 995void gv11b_fb_handle_mmu_nonreplay_replay_fault(struct gk20a *g,
996 u32 fault_status, unsigned int index) 996 u32 fault_status, unsigned int index)
997{ 997{
998 u32 get_indx, offset, rd32_val, entries; 998 u32 get_indx, offset, rd32_val, entries;
@@ -1140,7 +1140,7 @@ static void gv11b_mm_copy_from_fault_snap_reg(struct gk20a *g,
1140 1140
1141} 1141}
1142 1142
1143static void gv11b_fb_handle_replay_fault_overflow(struct gk20a *g, 1143void gv11b_fb_handle_replay_fault_overflow(struct gk20a *g,
1144 u32 fault_status) 1144 u32 fault_status)
1145{ 1145{
1146 u32 reg_val; 1146 u32 reg_val;
@@ -1175,7 +1175,7 @@ static void gv11b_fb_handle_replay_fault_overflow(struct gk20a *g,
1175 gk20a_writel(g, fb_mmu_fault_buffer_get_r(index), reg_val); 1175 gk20a_writel(g, fb_mmu_fault_buffer_get_r(index), reg_val);
1176} 1176}
1177 1177
1178static void gv11b_fb_handle_nonreplay_fault_overflow(struct gk20a *g, 1178void gv11b_fb_handle_nonreplay_fault_overflow(struct gk20a *g,
1179 u32 fault_status) 1179 u32 fault_status)
1180{ 1180{
1181 u32 reg_val; 1181 u32 reg_val;
@@ -1239,7 +1239,7 @@ static void gv11b_fb_handle_bar2_fault(struct gk20a *g,
1239 HUB_INTR_TYPE_NONREPLAY | HUB_INTR_TYPE_REPLAY); 1239 HUB_INTR_TYPE_NONREPLAY | HUB_INTR_TYPE_REPLAY);
1240} 1240}
1241 1241
1242static void gv11b_fb_handle_other_fault_notify(struct gk20a *g, 1242void gv11b_fb_handle_other_fault_notify(struct gk20a *g,
1243 u32 fault_status) 1243 u32 fault_status)
1244{ 1244{
1245 struct mmu_fault_info *mmfault; 1245 struct mmu_fault_info *mmfault;
@@ -1269,7 +1269,7 @@ static void gv11b_fb_handle_other_fault_notify(struct gk20a *g,
1269 } 1269 }
1270} 1270}
1271 1271
1272static void gv11b_fb_handle_dropped_mmu_fault(struct gk20a *g, u32 fault_status) 1272void gv11b_fb_handle_dropped_mmu_fault(struct gk20a *g, u32 fault_status)
1273{ 1273{
1274 u32 dropped_faults = 0; 1274 u32 dropped_faults = 0;
1275 1275