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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index cf63546b..e06d190e 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5154,14 +5154,14 @@ void gk20a_gr_set_error_notifier(struct gk20a *g,
5154 nvgpu_list_for_each_entry(ch_tsg, &tsg->ch_list, 5154 nvgpu_list_for_each_entry(ch_tsg, &tsg->ch_list,
5155 channel_gk20a, ch_entry) { 5155 channel_gk20a, ch_entry) {
5156 if (gk20a_channel_get(ch_tsg)) { 5156 if (gk20a_channel_get(ch_tsg)) {
5157 nvgpu_set_error_notifier(ch_tsg, 5157 g->ops.fifo.set_error_notifier(ch_tsg,
5158 error_notifier); 5158 error_notifier);
5159 gk20a_channel_put(ch_tsg); 5159 gk20a_channel_put(ch_tsg);
5160 } 5160 }
5161 } 5161 }
5162 nvgpu_rwsem_up_read(&tsg->ch_list_lock); 5162 nvgpu_rwsem_up_read(&tsg->ch_list_lock);
5163 } else { 5163 } else {
5164 nvgpu_set_error_notifier(ch, error_notifier); 5164 g->ops.fifo.set_error_notifier(ch, error_notifier);
5165 } 5165 }
5166 } 5166 }
5167} 5167}