diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index 90e44e8c..a797bad4 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -655,6 +655,7 @@ static int vgpu_fifo_force_reset_ch(struct channel_gk20a *ch, | |||
655 | list_for_each_entry(ch_tsg, &tsg->ch_list, ch_entry) { | 655 | list_for_each_entry(ch_tsg, &tsg->ch_list, ch_entry) { |
656 | if (gk20a_channel_get(ch_tsg)) { | 656 | if (gk20a_channel_get(ch_tsg)) { |
657 | gk20a_set_error_notifier(ch_tsg, err_code); | 657 | gk20a_set_error_notifier(ch_tsg, err_code); |
658 | ch_tsg->has_timedout = true; | ||
658 | gk20a_channel_put(ch_tsg); | 659 | gk20a_channel_put(ch_tsg); |
659 | } | 660 | } |
660 | } | 661 | } |
@@ -662,6 +663,7 @@ static int vgpu_fifo_force_reset_ch(struct channel_gk20a *ch, | |||
662 | mutex_unlock(&tsg->ch_list_lock); | 663 | mutex_unlock(&tsg->ch_list_lock); |
663 | } else { | 664 | } else { |
664 | gk20a_set_error_notifier(ch, err_code); | 665 | gk20a_set_error_notifier(ch, err_code); |
666 | ch->has_timedout = true; | ||
665 | } | 667 | } |
666 | 668 | ||
667 | msg.cmd = TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET; | 669 | msg.cmd = TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET; |