From c1b78dd65d6d3269c4b25d38fc57975acca02a1a Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 8 May 2018 06:07:09 -0700 Subject: gpu: nvgpu: add HALs to enable/disable hub interrupts Add below two new HALs gops.fb.enable_hub_intr() to enable hub interrupts gops.fb.disable_hub_intr() to disable hub interrupts Set existing APIs gv11b_fb_enable/disable_hub_intr() to these HALs Call the HALs everywhere instead of calling the APIs directly Jira NVGPUT-44 Change-Id: Id299c6d228733ed365a71be6b180186776cc1306 Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1725977 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c') diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index a4dd09ec..23a3d78f 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c @@ -464,6 +464,8 @@ static const struct gpu_ops gv100_ops = { .mem_unlock = gv100_fb_memory_unlock, .init_nvlink = gv100_fb_init_nvlink, .enable_nvlink = gv100_fb_enable_nvlink, + .enable_hub_intr = gv11b_fb_enable_hub_intr, + .disable_hub_intr = gv11b_fb_disable_hub_intr, }, .clock_gating = { .slcg_bus_load_gating_prod = -- cgit v1.2.2