summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2017-05-19 06:13:13 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-19 12:44:30 -0400
commitdcb744acfbbc11e66cac2d0a674a42e62d908b9d (patch)
treed8f0cf97fbbe4acd8e68a79669588b5457faa1db /drivers/gpu/nvgpu/gk20a/gk20a.h
parentd85aa0064b3e9e1de3f2583499963977286b0d25 (diff)
gpu: nvgpu: Add GCC exception handling support
Add support for per-chip handling of GCC exception. JIRA GPUT19X-86 Change-Id: I76ea588dc76b5c821ae5b53529db6dd64b3a856a Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1485836 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index af40c969..9ab0d202 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -304,6 +304,9 @@ struct gpu_ops {
304 int (*handle_sm_exception)(struct gk20a *g, u32 gpc, u32 tpc, 304 int (*handle_sm_exception)(struct gk20a *g, u32 gpc, u32 tpc,
305 bool *post_event, struct channel_gk20a *fault_ch, 305 bool *post_event, struct channel_gk20a *fault_ch,
306 u32 *hww_global_esr); 306 u32 *hww_global_esr);
307 int (*handle_gcc_exception)(struct gk20a *g, u32 gpc, u32 tpc,
308 bool *post_event, struct channel_gk20a *fault_ch,
309 u32 *hww_global_esr);
307 int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc, 310 int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc,
308 bool *post_event); 311 bool *post_event);
309 void (*enable_gpc_exceptions)(struct gk20a *g); 312 void (*enable_gpc_exceptions)(struct gk20a *g);