summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2018-02-14 21:35:12 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-06 17:52:03 -0500
commitd6c6c6c483478654b34685b9e13ed160bad49a1c (patch)
tree5e71982da3dd03c3d9bb2158432c1d2dc6072b9e /drivers/gpu/nvgpu/gk20a/gk20a.h
parent395c5538136049dcbc52ab218c3b5f764e7d0199 (diff)
gpu: nvgpu: add hal op for gr set error notifier
The vserver variant for gr set error notifier needs different functionality to send interrupt to VM. Add HAL operation to allow overriding vserver usecase. Jira VQRM-2982 Change-Id: Ia445a27112bb6c5587dbb81100a9dafe5875b338 Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1657830 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 2786340e..84392025 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -443,6 +443,8 @@ struct gpu_ops {
443 struct nvgpu_gr_ctx *gr_ctx); 443 struct nvgpu_gr_ctx *gr_ctx);
444 void (*fecs_host_int_enable)(struct gk20a *g); 444 void (*fecs_host_int_enable)(struct gk20a *g);
445 int (*handle_ssync_hww)(struct gk20a *g); 445 int (*handle_ssync_hww)(struct gk20a *g);
446 void (*set_error_notifier)(struct gk20a *g,
447 struct gr_gk20a_isr_data *isr_data, u32 error_notifier);
446 } gr; 448 } gr;
447 struct { 449 struct {
448 void (*init_hw)(struct gk20a *g); 450 void (*init_hw)(struct gk20a *g);