gpu: nvgpu: set hub interrupt enable/disable HALs for vGPU

Below HALs were missing in vGPU/gv11b. Add them.

gops.fb.enable_hub_intr() to enable hub interrupts
gops.fb.disable_hub_intr() to disable hub interrupts

Jira NVGPUT-44

Change-Id: I981744b79e9fc0d72e6ab991b09bbbcb3f6bcd44
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1744086
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2018-06-08 11:37:26 -07:00
committed by Tejal Kudav
parent 16f131eb50
commit 4e66f214fc

View File

@@ -289,6 +289,8 @@ static const struct gpu_ops vgpu_gv11b_ops = {
.set_debug_mode = vgpu_mm_mmu_set_debug_mode,
.tlb_invalidate = vgpu_mm_tlb_invalidate,
.hub_isr = gv11b_fb_hub_isr,
.enable_hub_intr = gv11b_fb_enable_hub_intr,
.disable_hub_intr = gv11b_fb_disable_hub_intr,
},
.clock_gating = {
.slcg_bus_load_gating_prod =