summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/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/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/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 178c1200..6b93cb8d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -447,6 +447,8 @@ struct gpu_ops {
447 struct gr_gk20a_isr_data *isr_data, u32 error_notifier); 447 struct gr_gk20a_isr_data *isr_data, u32 error_notifier);
448 int (*handle_notify_pending)(struct gk20a *g, 448 int (*handle_notify_pending)(struct gk20a *g,
449 struct gr_gk20a_isr_data *isr_data); 449 struct gr_gk20a_isr_data *isr_data);
450 int (*handle_semaphore_pending)(struct gk20a *g,
451 struct gr_gk20a_isr_data *isr_data);
450 } gr; 452 } gr;
451 struct { 453 struct {
452 void (*init_hw)(struct gk20a *g); 454 void (*init_hw)(struct gk20a *g);