summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index 1336557a..4280e8ff 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -48,7 +48,6 @@
48#include "gv11b/subctx_gv11b.h" 48#include "gv11b/subctx_gv11b.h"
49#include "gv11b/gv11b.h" 49#include "gv11b/gv11b.h"
50#include "gv11b/gr_pri_gv11b.h" 50#include "gv11b/gr_pri_gv11b.h"
51#include "gv11b/fb_gv11b.h"
52 51
53#include <nvgpu/hw/gv11b/hw_gr_gv11b.h> 52#include <nvgpu/hw/gv11b/hw_gr_gv11b.h>
54#include <nvgpu/hw/gv11b/hw_fifo_gv11b.h> 53#include <nvgpu/hw/gv11b/hw_fifo_gv11b.h>
@@ -3741,8 +3740,9 @@ int gv11b_gr_wait_for_sm_lock_down(struct gk20a *g,
3741 return 0; 3740 return 0;
3742 } 3741 }
3743 3742
3744 if (mmu_debug_mode_enabled) { 3743 if (mmu_debug_mode_enabled &&
3745 gv11b_fb_handle_replayable_mmu_fault(g); 3744 g->ops.fb.handle_replayable_fault != NULL) {
3745 g->ops.fb.handle_replayable_fault(g);
3746 } else { 3746 } else {
3747 /* if an mmu fault is pending and mmu debug mode is not 3747 /* if an mmu fault is pending and mmu debug mode is not
3748 * enabled, the sm will never lock down. 3748 * enabled, the sm will never lock down.