diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-02-14 21:35:12 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-06 17:52:03 -0500 |
commit | d6c6c6c483478654b34685b9e13ed160bad49a1c (patch) | |
tree | 5e71982da3dd03c3d9bb2158432c1d2dc6072b9e /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | 395c5538136049dcbc52ab218c3b5f764e7d0199 (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/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 3fcba678..d1ba6353 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -798,5 +798,6 @@ void gk20a_gr_get_ovr_perf_regs(struct gk20a *g, u32 *num_ovr_perf_regs, | |||
798 | void gk20a_gr_init_ctxsw_hdr_data(struct gk20a *g, | 798 | void gk20a_gr_init_ctxsw_hdr_data(struct gk20a *g, |
799 | struct nvgpu_mem *mem); | 799 | struct nvgpu_mem *mem); |
800 | u32 gr_gk20a_get_patch_slots(struct gk20a *g); | 800 | u32 gr_gk20a_get_patch_slots(struct gk20a *g); |
801 | 801 | void gk20a_gr_set_error_notifier(struct gk20a *g, | |
802 | struct gr_gk20a_isr_data *isr_data, u32 error_notifier); | ||
802 | #endif /*__GR_GK20A_H__*/ | 803 | #endif /*__GR_GK20A_H__*/ |