summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
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/gv100/hal_gv100.c
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/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 7e1b6a3f..00f5bcce 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -428,6 +428,7 @@ static const struct gpu_ops gv100_ops = {
428 .handle_ssync_hww = gr_gv11b_handle_ssync_hww, 428 .handle_ssync_hww = gr_gv11b_handle_ssync_hww,
429 .set_error_notifier = gk20a_gr_set_error_notifier, 429 .set_error_notifier = gk20a_gr_set_error_notifier,
430 .handle_notify_pending = gk20a_gr_handle_notify_pending, 430 .handle_notify_pending = gk20a_gr_handle_notify_pending,
431 .handle_semaphore_pending = gk20a_gr_handle_semaphore_pending,
431 }, 432 },
432 .fb = { 433 .fb = {
433 .reset = gv100_fb_reset, 434 .reset = gv100_fb_reset,