diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-06-08 14:37:26 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:08 -0400 |
commit | 4e66f214fc03f088b13e1f1cdc097df67dd2c062 (patch) | |
tree | 4f12136c5560671a46e34116416905d852561a75 /drivers | |
parent | 16f131eb5032b336e053e0548f23b556e840ace5 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index c6a6eae9..1a627d3f 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -289,6 +289,8 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
289 | .set_debug_mode = vgpu_mm_mmu_set_debug_mode, | 289 | .set_debug_mode = vgpu_mm_mmu_set_debug_mode, |
290 | .tlb_invalidate = vgpu_mm_tlb_invalidate, | 290 | .tlb_invalidate = vgpu_mm_tlb_invalidate, |
291 | .hub_isr = gv11b_fb_hub_isr, | 291 | .hub_isr = gv11b_fb_hub_isr, |
292 | .enable_hub_intr = gv11b_fb_enable_hub_intr, | ||
293 | .disable_hub_intr = gv11b_fb_disable_hub_intr, | ||
292 | }, | 294 | }, |
293 | .clock_gating = { | 295 | .clock_gating = { |
294 | .slcg_bus_load_gating_prod = | 296 | .slcg_bus_load_gating_prod = |