From a801c897df1e5e7ac498e1531ce4bbdabdca1c3d Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 3 Jul 2018 14:00:40 -0700 Subject: gpu: nvgpu: Simplify FB hub intr enable Hard code flags for enabling and disabling FB hub interrupts. JIRA NVGPU-714 Change-Id: I806ef443cb9e27e221d407d633ca91d8fb40d075 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1769853 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b677419c..b59baa78 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -542,10 +542,8 @@ struct gpu_ops { int (*mem_unlock)(struct gk20a *g); int (*init_nvlink)(struct gk20a *g); int (*enable_nvlink)(struct gk20a *g); - void (*enable_hub_intr)(struct gk20a *g, unsigned int index, - unsigned int intr_type); - void (*disable_hub_intr)(struct gk20a *g, unsigned int index, - unsigned int intr_type); + void (*enable_hub_intr)(struct gk20a *g); + void (*disable_hub_intr)(struct gk20a *g); int (*init_fbpa)(struct gk20a *g); void (*fbpa_isr)(struct gk20a *g); void (*write_mmu_fault_buffer_lo_hi)(struct gk20a *g, u32 index, -- cgit v1.2.2