diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-05-18 19:50:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 07:55:59 -0400 |
commit | 05388ad24a61c43a110e3d235622c23a356b5df7 (patch) | |
tree | 98e4eacd09571d8575a49977e268c3410a0e6834 /drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | |
parent | 94226c9c1ed67be2dd146648b0460ef7346a2900 (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/ecc_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h new file mode 100644 index 00000000..454dcb20 --- /dev/null +++ b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | * GP10B ECC | ||
3 | * | ||
4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms and conditions of the GNU General Public License, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | */ | ||
15 | |||
16 | #ifndef _NVGPU_ECC_GP10B_H_ | ||
17 | #define _NVGPU_ECC_GP10B_H_ | ||
18 | |||
19 | #include <linux/version.h> | ||
20 | |||
21 | struct ecc_gr_t18x { | ||
22 | struct gk20a_ecc_stat sm_lrf_single_err_count; | ||
23 | struct gk20a_ecc_stat sm_lrf_double_err_count; | ||
24 | |||
25 | struct gk20a_ecc_stat sm_shm_sec_count; | ||
26 | struct gk20a_ecc_stat sm_shm_sed_count; | ||
27 | struct gk20a_ecc_stat sm_shm_ded_count; | ||
28 | |||
29 | struct gk20a_ecc_stat tex_total_sec_pipe0_count; | ||
30 | struct gk20a_ecc_stat tex_total_ded_pipe0_count; | ||
31 | struct gk20a_ecc_stat tex_unique_sec_pipe0_count; | ||
32 | struct gk20a_ecc_stat tex_unique_ded_pipe0_count; | ||
33 | struct gk20a_ecc_stat tex_total_sec_pipe1_count; | ||
34 | struct gk20a_ecc_stat tex_total_ded_pipe1_count; | ||
35 | struct gk20a_ecc_stat tex_unique_sec_pipe1_count; | ||
36 | struct gk20a_ecc_stat tex_unique_ded_pipe1_count; | ||
37 | |||
38 | struct gk20a_ecc_stat l2_sec_count; | ||
39 | struct gk20a_ecc_stat l2_ded_count; | ||
40 | }; | ||
41 | #endif | ||