summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-05-18 19:50:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-24 07:55:59 -0400
commit05388ad24a61c43a110e3d235622c23a356b5df7 (patch)
tree98e4eacd09571d8575a49977e268c3410a0e6834 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h
parent94226c9c1ed67be2dd146648b0460ef7346a2900 (diff)
gpu: nvgpu: re-arrange parity counters
(1) Re-arrange the structure for parity counters reporting so multiple units can be managed JIRA: GPUT19X-84 Change-Id: If59a883dfe22d5a1d91a6d0ed2f5a6254434ffcb Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1485276 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index 588a7d8f..81ec7927 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -22,12 +22,6 @@
22 22
23struct gpu_ops; 23struct gpu_ops;
24 24
25struct gr_gp10b_ecc_stat {
26 char **names;
27 u32 *counters;
28 struct hlist_node hash_node;
29};
30
31enum { 25enum {
32 PASCAL_CHANNEL_GPFIFO_A = 0xC06F, 26 PASCAL_CHANNEL_GPFIFO_A = 0xC06F,
33 PASCAL_A = 0xC097, 27 PASCAL_A = 0xC097,
@@ -68,27 +62,6 @@ struct gr_t18x {
68 struct dentry *debugfs_dump_ctxsw_stats; 62 struct dentry *debugfs_dump_ctxsw_stats;
69 } ctx_vars; 63 } ctx_vars;
70 64
71 struct {
72 struct gr_gp10b_ecc_stat sm_lrf_single_err_count;
73 struct gr_gp10b_ecc_stat sm_lrf_double_err_count;
74
75 struct gr_gp10b_ecc_stat sm_shm_sec_count;
76 struct gr_gp10b_ecc_stat sm_shm_sed_count;
77 struct gr_gp10b_ecc_stat sm_shm_ded_count;
78
79 struct gr_gp10b_ecc_stat tex_total_sec_pipe0_count;
80 struct gr_gp10b_ecc_stat tex_total_ded_pipe0_count;
81 struct gr_gp10b_ecc_stat tex_unique_sec_pipe0_count;
82 struct gr_gp10b_ecc_stat tex_unique_ded_pipe0_count;
83 struct gr_gp10b_ecc_stat tex_total_sec_pipe1_count;
84 struct gr_gp10b_ecc_stat tex_total_ded_pipe1_count;
85 struct gr_gp10b_ecc_stat tex_unique_sec_pipe1_count;
86 struct gr_gp10b_ecc_stat tex_unique_ded_pipe1_count;
87
88 struct gr_gp10b_ecc_stat l2_sec_count;
89 struct gr_gp10b_ecc_stat l2_ded_count;
90 } ecc_stats;
91
92 u32 fecs_feature_override_ecc_val; 65 u32 fecs_feature_override_ecc_val;
93 66
94 int cilp_preempt_pending_chid; 67 int cilp_preempt_pending_chid;