From d6c6c6c483478654b34685b9e13ed160bad49a1c Mon Sep 17 00:00:00 2001 From: Aparna Das Date: Wed, 14 Feb 2018 18:35:12 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1657830 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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 { struct nvgpu_gr_ctx *gr_ctx); void (*fecs_host_int_enable)(struct gk20a *g); int (*handle_ssync_hww)(struct gk20a *g); + void (*set_error_notifier)(struct gk20a *g, + struct gr_gk20a_isr_data *isr_data, u32 error_notifier); } gr; struct { void (*init_hw)(struct gk20a *g); -- cgit v1.2.2