diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index afe3c24b..ac506a34 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -14,6 +14,8 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/dma-mapping.h> | 16 | #include <linux/dma-mapping.h> |
17 | #include <trace/events/gk20a.h> | ||
18 | |||
17 | #include "vgpu/vgpu.h" | 19 | #include "vgpu/vgpu.h" |
18 | #include "gk20a/hw_fifo_gk20a.h" | 20 | #include "gk20a/hw_fifo_gk20a.h" |
19 | #include "gk20a/hw_ram_gk20a.h" | 21 | #include "gk20a/hw_ram_gk20a.h" |
@@ -625,6 +627,8 @@ int vgpu_fifo_isr(struct gk20a *g, struct tegra_vgpu_fifo_intr_info *info) | |||
625 | gk20a_err(dev_from_gk20a(g), "fifo intr (%d) on ch %u", | 627 | gk20a_err(dev_from_gk20a(g), "fifo intr (%d) on ch %u", |
626 | info->type, info->chid); | 628 | info->type, info->chid); |
627 | 629 | ||
630 | trace_gk20a_channel_reset(ch->hw_chid, ch->tsgid); | ||
631 | |||
628 | switch (info->type) { | 632 | switch (info->type) { |
629 | case TEGRA_VGPU_FIFO_INTR_PBDMA: | 633 | case TEGRA_VGPU_FIFO_INTR_PBDMA: |
630 | gk20a_set_error_notifier(ch, NVGPU_CHANNEL_PBDMA_ERROR); | 634 | gk20a_set_error_notifier(ch, NVGPU_CHANNEL_PBDMA_ERROR); |