diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-03-19 20:03:46 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-29 21:54:29 -0400 |
commit | 8d8ff9d34e9707e9306fcf40b5ffcfa0d826765a (patch) | |
tree | 45e22d523fbfd8503de2b6684c97c538b417bfb4 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | d436ad67b60eef68c7d5551b539490f8efb24387 (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/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 67b3adbf..60effbf2 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -85,6 +85,7 @@ | |||
85 | #include <nvgpu/debug.h> | 85 | #include <nvgpu/debug.h> |
86 | #include <nvgpu/enabled.h> | 86 | #include <nvgpu/enabled.h> |
87 | #include <nvgpu/ctxsw_trace.h> | 87 | #include <nvgpu/ctxsw_trace.h> |
88 | #include <nvgpu/error_notifier.h> | ||
88 | 89 | ||
89 | #include <nvgpu/hw/gv11b/hw_proj_gv11b.h> | 90 | #include <nvgpu/hw/gv11b/hw_proj_gv11b.h> |
90 | #include <nvgpu/hw/gv11b/hw_fifo_gv11b.h> | 91 | #include <nvgpu/hw/gv11b/hw_fifo_gv11b.h> |
@@ -533,6 +534,7 @@ static const struct gpu_ops gv11b_ops = { | |||
533 | .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, | 534 | .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, |
534 | .channel_suspend = gk20a_channel_suspend, | 535 | .channel_suspend = gk20a_channel_suspend, |
535 | .channel_resume = gk20a_channel_resume, | 536 | .channel_resume = gk20a_channel_resume, |
537 | .set_error_notifier = nvgpu_set_error_notifier, | ||
536 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 538 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
537 | .alloc_syncpt_buf = gv11b_fifo_alloc_syncpt_buf, | 539 | .alloc_syncpt_buf = gv11b_fifo_alloc_syncpt_buf, |
538 | .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, | 540 | .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, |