summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2018-02-15 16:55:47 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-06 17:52:52 -0500
commitca95adb2d4e51431de2f8fbe252bade55ba0ed46 (patch)
tree099c8b12d9408b27ce18556dd1d237585e6c19f9 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parentc6b846d34c1a3a92a856eed33c5a5175885a273a (diff)
gpu: nvgpu: add hal op to handle semaphore pending
The vserver variant for gr handle semaphore pending needs different functionality to send interrupt to VM. Add HAL operation to allow overriding vserver usecase. Jira VQRM-2982 Change-Id: I5fee5a491c6e54344f9da477eaf5881c50335bbc Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1658298 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index fff22f29..e4eb6c4a 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -808,4 +808,6 @@ int gr_gk20a_fecs_ctx_bind_channel(struct gk20a *g,
808 struct channel_gk20a *c); 808 struct channel_gk20a *c);
809u32 gk20a_init_sw_bundle(struct gk20a *g); 809u32 gk20a_init_sw_bundle(struct gk20a *g);
810int gr_gk20a_fecs_ctx_image_save(struct channel_gk20a *c, u32 save_type); 810int gr_gk20a_fecs_ctx_image_save(struct channel_gk20a *c, u32 save_type);
811int gk20a_gr_handle_semaphore_pending(struct gk20a *g,
812 struct gr_gk20a_isr_data *isr_data);
811#endif /*__GR_GK20A_H__*/ 813#endif /*__GR_GK20A_H__*/