summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-05-31 19:08:05 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:06 -0400
commitc5cf398b2aac7c725492033d02b1d9e778acd592 (patch)
tree7d17b9b07e02eba6ab205914738056065bd3bfb8 /drivers/gpu/nvgpu/vgpu/gr_vgpu.c
parent2318e66a59e4e25240513fe7d267fc63b7353a15 (diff)
gpu: nvgpu: vgpu: clean up nonstall isrs
It has moved to use TEGRA_VGPU_EVENT_SEMAPHORE_WAKEUP, removing legacy isrs. Jira EVLR-2696 Change-Id: Ie977bba59c0af8589989d872150c3f9b2080854a Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1736399 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com> 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.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index a512c36b..2ae615bf 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -987,23 +987,6 @@ int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info)
987 return 0; 987 return 0;
988} 988}
989 989
990int vgpu_gr_nonstall_isr(struct gk20a *g,
991 struct tegra_vgpu_gr_nonstall_intr_info *info)
992{
993 nvgpu_log_fn(g, " ");
994
995 switch (info->type) {
996 case TEGRA_VGPU_GR_NONSTALL_INTR_SEMAPHORE:
997 g->ops.semaphore_wakeup(g, true);
998 break;
999 default:
1000 WARN_ON(1);
1001 break;
1002 }
1003
1004 return 0;
1005}
1006
1007int vgpu_gr_set_sm_debug_mode(struct gk20a *g, 990int vgpu_gr_set_sm_debug_mode(struct gk20a *g,
1008 struct channel_gk20a *ch, u64 sms, bool enable) 991 struct channel_gk20a *ch, u64 sms, bool enable)
1009{ 992{