diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-03 17:00:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-11 04:43:26 -0400 |
commit | a801c897df1e5e7ac498e1531ce4bbdabdca1c3d (patch) | |
tree | c461329d88878803636a268844a7a05acc2ae1d5 /drivers/gpu/nvgpu/gk20a | |
parent | 572fba2c52a6d63dbc785b48ad845e55f0b7eac0 (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1769853
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 { | |||
542 | int (*mem_unlock)(struct gk20a *g); | 542 | int (*mem_unlock)(struct gk20a *g); |
543 | int (*init_nvlink)(struct gk20a *g); | 543 | int (*init_nvlink)(struct gk20a *g); |
544 | int (*enable_nvlink)(struct gk20a *g); | 544 | int (*enable_nvlink)(struct gk20a *g); |
545 | void (*enable_hub_intr)(struct gk20a *g, unsigned int index, | 545 | void (*enable_hub_intr)(struct gk20a *g); |
546 | unsigned int intr_type); | 546 | void (*disable_hub_intr)(struct gk20a *g); |
547 | void (*disable_hub_intr)(struct gk20a *g, unsigned int index, | ||
548 | unsigned int intr_type); | ||
549 | int (*init_fbpa)(struct gk20a *g); | 547 | int (*init_fbpa)(struct gk20a *g); |
550 | void (*fbpa_isr)(struct gk20a *g); | 548 | void (*fbpa_isr)(struct gk20a *g); |
551 | void (*write_mmu_fault_buffer_lo_hi)(struct gk20a *g, u32 index, | 549 | void (*write_mmu_fault_buffer_lo_hi)(struct gk20a *g, u32 index, |