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/gk20a/gk20a.h | |
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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index c7653133..e8cfaf13 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -635,6 +635,7 @@ struct gpu_ops { | |||
635 | bool *verbose, u32 *ms); | 635 | bool *verbose, u32 *ms); |
636 | int (*channel_suspend)(struct gk20a *g); | 636 | int (*channel_suspend)(struct gk20a *g); |
637 | int (*channel_resume)(struct gk20a *g); | 637 | int (*channel_resume)(struct gk20a *g); |
638 | void (*set_error_notifier)(struct channel_gk20a *ch, u32 error); | ||
638 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 639 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
639 | int (*alloc_syncpt_buf)(struct channel_gk20a *c, | 640 | int (*alloc_syncpt_buf)(struct channel_gk20a *c, |
640 | u32 syncpt_id, struct nvgpu_mem *syncpt_buf); | 641 | u32 syncpt_id, struct nvgpu_mem *syncpt_buf); |