diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-02-15 18:39:10 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-06 17:52:21 -0500 |
commit | 98d91dd2609faadfa4aa9aafad5e295c924ae08f (patch) | |
tree | 40daaafbb2756a1defa0f299a8881799b6b0161c /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | d654ab48638b0160ccef6f7be0faa8b3b3ee1fab (diff) |
gpu: nvgpu: add hal op to handle post event id
The vserver variant for gr post event id needs different
functionality to send interrupt to VM. Add HAL operation
to allow overriding vserver usecase.
Jira VQRM-2982
Change-Id: I915d089ef751023968c1e8ab181c21afeec997a5
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1658382
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 d9e3c97d..6f99b3f9 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -610,6 +610,7 @@ struct gpu_ops { | |||
610 | void (*deinit_eng_method_buffers)(struct gk20a *g, | 610 | void (*deinit_eng_method_buffers)(struct gk20a *g, |
611 | struct tsg_gk20a *tsg); | 611 | struct tsg_gk20a *tsg); |
612 | u32 (*get_preempt_timeout)(struct gk20a *g); | 612 | u32 (*get_preempt_timeout)(struct gk20a *g); |
613 | void (*post_event_id)(struct tsg_gk20a *tsg, int event_id); | ||
613 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 614 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
614 | int (*alloc_syncpt_buf)(struct channel_gk20a *c, | 615 | int (*alloc_syncpt_buf)(struct channel_gk20a *c, |
615 | u32 syncpt_id, struct nvgpu_mem *syncpt_buf); | 616 | u32 syncpt_id, struct nvgpu_mem *syncpt_buf); |