summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index ca44cf21..1efa0c86 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5471,7 +5471,7 @@ int gk20a_gr_isr(struct gk20a *g)
5471 gk20a_dbg_gpu_post_events(fault_ch); 5471 gk20a_dbg_gpu_post_events(fault_ch);
5472 } 5472 }
5473 5473
5474 if (need_reset) 5474 if (need_reset && ch)
5475 gk20a_set_error_notifier(ch, 5475 gk20a_set_error_notifier(ch,
5476 NVGPU_CHANNEL_GR_ERROR_SW_NOTIFY); 5476 NVGPU_CHANNEL_GR_ERROR_SW_NOTIFY);
5477 } 5477 }