summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-03-19 20:03:46 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 21:54:29 -0400
commit8d8ff9d34e9707e9306fcf40b5ffcfa0d826765a (patch)
tree45e22d523fbfd8503de2b6684c97c538b417bfb4 /drivers/gpu/nvgpu/vgpu/gv11b
parentd436ad67b60eef68c7d5551b539490f8efb24387 (diff)
gpu: nvgpu: add gops.fifo.set_error_notifier
RM Server overrides it for handling stall interrupts. Jira VQRM-3058 Change-Id: I8b14f073e952d19c808cb693958626b8d8aee8ca Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1679709 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index 5e3af9d7..32edbd21 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -23,6 +23,7 @@
23#include <gk20a/gk20a.h> 23#include <gk20a/gk20a.h>
24#include <gv11b/hal_gv11b.h> 24#include <gv11b/hal_gv11b.h>
25#include <nvgpu/vgpu/vgpu.h> 25#include <nvgpu/vgpu/vgpu.h>
26#include <nvgpu/error_notifier.h>
26 27
27#include "vgpu/fifo_vgpu.h" 28#include "vgpu/fifo_vgpu.h"
28#include "vgpu/gr_vgpu.h" 29#include "vgpu/gr_vgpu.h"
@@ -392,6 +393,7 @@ static const struct gpu_ops vgpu_gv11b_ops = {
392 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, 393 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout,
393 .channel_suspend = gk20a_channel_suspend, 394 .channel_suspend = gk20a_channel_suspend,
394 .channel_resume = gk20a_channel_resume, 395 .channel_resume = gk20a_channel_resume,
396 .set_error_notifier = nvgpu_set_error_notifier,
395#ifdef CONFIG_TEGRA_GK20A_NVHOST 397#ifdef CONFIG_TEGRA_GK20A_NVHOST
396 .alloc_syncpt_buf = vgpu_gv11b_fifo_alloc_syncpt_buf, 398 .alloc_syncpt_buf = vgpu_gv11b_fifo_alloc_syncpt_buf,
397 .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, 399 .free_syncpt_buf = gv11b_fifo_free_syncpt_buf,