summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-03-01 17:47:35 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-06 17:52:43 -0500
commitc6b846d34c1a3a92a856eed33c5a5175885a273a (patch)
tree0b6f7ad4a4a4c8fe51e60ebcc5b7fd29565158ba /drivers/gpu/nvgpu/vgpu/gr_vgpu.c
parentf6cac2e0c4c57295886ea97833cebcd368de3788 (diff)
gpu: nvgpu: add gops.semaphore_wakeup HAL
vserver handles semaphore differently from native, so it needs a callback to differentiate from native. Also created common function mc_gk20a_handle_intr_nonstall to handle all nonstall interrupts. Jira VQRM-2982 Change-Id: I1b3821717a4005ca4bf2a4dac5dcd335872f48f1 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1656753 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gr_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index d04beb56..e61996a1 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -969,7 +969,7 @@ int vgpu_gr_nonstall_isr(struct gk20a *g,
969 969
970 switch (info->type) { 970 switch (info->type) {
971 case TEGRA_VGPU_GR_NONSTALL_INTR_SEMAPHORE: 971 case TEGRA_VGPU_GR_NONSTALL_INTR_SEMAPHORE:
972 gk20a_channel_semaphore_wakeup(g, true); 972 g->ops.semaphore_wakeup(g, true);
973 break; 973 break;
974 default: 974 default:
975 WARN_ON(1); 975 WARN_ON(1);