summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-07-05 15:21:18 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-06 15:04:43 -0400
commit84f712dee8b582dd7d2a19345c621a2ae3bd6292 (patch)
treede1b36f0b444e722630f16ddbed32f88aeef8c38 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentd8c0144f8b45ef8a94fc696efaa0c782c4c787af (diff)
gpu: nvgpu: add handle_tpc_sm_ecc_exception gr ops
Needed to handle t19x sm ecc errors per tpc JIRA GPUT19X-75 JIRA GPUT19X-109 Change-Id: I921615dd5f551f34cdf55c1b085b16f562f16eb0 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1514044 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 95b93496..e30a89fe 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -304,6 +304,10 @@ struct gpu_ops {
304 u32 global_esr); 304 u32 global_esr);
305 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc, 305 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc,
306 u32 *esr_sm_sel); 306 u32 *esr_sm_sel);
307 int (*handle_tpc_sm_ecc_exception)(struct gk20a *g,
308 u32 gpc, u32 tpc,
309 bool *post_event, struct channel_gk20a *fault_ch,
310 u32 *hww_global_esr);
307 int (*handle_sm_exception)(struct gk20a *g, 311 int (*handle_sm_exception)(struct gk20a *g,
308 u32 gpc, u32 tpc, u32 sm, 312 u32 gpc, u32 tpc, u32 sm,
309 bool *post_event, struct channel_gk20a *fault_ch, 313 bool *post_event, struct channel_gk20a *fault_ch,