From ca95adb2d4e51431de2f8fbe252bade55ba0ed46 Mon Sep 17 00:00:00 2001 From: Aparna Das Date: Thu, 15 Feb 2018 13:55:47 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1658298 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h') 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, struct channel_gk20a *c); u32 gk20a_init_sw_bundle(struct gk20a *g); int gr_gk20a_fecs_ctx_image_save(struct channel_gk20a *c, u32 save_type); +int gk20a_gr_handle_semaphore_pending(struct gk20a *g, + struct gr_gk20a_isr_data *isr_data); #endif /*__GR_GK20A_H__*/ -- cgit v1.2.2