diff options
author | Sam Payne <spayne@nvidia.com> | 2015-01-26 17:02:25 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:08:17 -0400 |
commit | ce3afaaaf6092f46b2db0f8835e4d4b9b46ef1a4 (patch) | |
tree | bd06822411f5601c5ea5c7a9059c1d2c7710c64e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | f3a920cb01d1517db5432c8062b660d6b60eb4de (diff) |
gpu: nvgpu: disable ce2 interrupts when unhandled
ce2 interrupts enabled only on gk20a and gm20b when
interrupts are handled through hal
Change-Id: Ib570db8f5f41e71e768b95e781153ec8a5d20015
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/677447
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ef8068e5..1157390a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -88,6 +88,10 @@ struct gpu_ops { | |||
88 | void (*flush)(struct gk20a *g); | 88 | void (*flush)(struct gk20a *g); |
89 | } ltc; | 89 | } ltc; |
90 | struct { | 90 | struct { |
91 | void (*isr_stall)(struct gk20a *g); | ||
92 | void (*isr_nonstall)(struct gk20a *g); | ||
93 | } ce2; | ||
94 | struct { | ||
91 | int (*init_fs_state)(struct gk20a *g); | 95 | int (*init_fs_state)(struct gk20a *g); |
92 | void (*access_smpc_reg)(struct gk20a *g, u32 quad, u32 offset); | 96 | void (*access_smpc_reg)(struct gk20a *g, u32 quad, u32 offset); |
93 | void (*bundle_cb_defaults)(struct gk20a *g); | 97 | void (*bundle_cb_defaults)(struct gk20a *g); |