diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-05-12 14:01:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 07:55:41 -0400 |
commit | 5570194dc4d97a857b354b706949e27663ebeee0 (patch) | |
tree | 6d5f6bfcddb80af5643f5253b640e5d5dbd75045 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7d6d8a7ec3ccf9656194e862d4259076cb0a84e0 (diff) |
gpu: nvgpu: per-chip GPCCS exception support
Adding support for ISR handling of GPCCS exceptions
JIRA: GPUT19X-83
Change-Id: Ia5550aac8f368d8915f6c94aa22478cacbb2bddc
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1480992
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@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 b3292ac4..3d1e0847 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -309,6 +309,8 @@ struct gpu_ops { | |||
309 | u32 *hww_global_esr); | 309 | u32 *hww_global_esr); |
310 | int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc, | 310 | int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc, |
311 | bool *post_event); | 311 | bool *post_event); |
312 | int (*handle_gpc_gpccs_exception)(struct gk20a *g, u32 gpc, | ||
313 | u32 gpc_exception); | ||
312 | void (*enable_gpc_exceptions)(struct gk20a *g); | 314 | void (*enable_gpc_exceptions)(struct gk20a *g); |
313 | void (*create_gr_sysfs)(struct device *dev); | 315 | void (*create_gr_sysfs)(struct device *dev); |
314 | u32 (*get_lrf_tex_ltc_dram_override)(struct gk20a *g); | 316 | u32 (*get_lrf_tex_ltc_dram_override)(struct gk20a *g); |
@@ -749,6 +751,8 @@ struct gpu_ops { | |||
749 | u32 lspmuwprinitdone; | 751 | u32 lspmuwprinitdone; |
750 | u32 lsfloadedfalconid; | 752 | u32 lsfloadedfalconid; |
751 | bool fecsbootstrapdone; | 753 | bool fecsbootstrapdone; |
754 | void (*handle_ext_irq)(struct gk20a *g, u32 intr); | ||
755 | void (*set_irqmask)(struct gk20a *g); | ||
752 | } pmu; | 756 | } pmu; |
753 | struct { | 757 | struct { |
754 | void (*disable_slowboot)(struct gk20a *g); | 758 | void (*disable_slowboot)(struct gk20a *g); |