diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-05-18 19:45:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 07:55:59 -0400 |
commit | c771d0b979cd9f42a21da520d5010873d2a6aa47 (patch) | |
tree | ff03cd455a5d953d5d06c597af94e819e8793a37 /drivers/gpu/nvgpu/gv11b/ecc_gv11b.h | |
parent | 2173add7ae7210606afdaa56995a61d012b9a2f1 (diff) |
gpu: nvgpu: add GPC parity counters
(1) Re-arrange the structure for ecc counters reporting so multiple
units can be managed
(2) Add counters and handling for additional GPC counters
JIRA: GPUT19X-84
Change-Id: I74fd474d7daf7590fc7f7ddc9837bb692512d208
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1485277
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/ecc_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/ecc_gv11b.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h b/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h new file mode 100644 index 00000000..6b471655 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * GV11B GPU ECC | ||
3 | * | ||
4 | * Copyright (c) 2016-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_GV11B_H_ | ||
17 | #define _NVGPU_ECC_GV11B_H_ | ||
18 | |||
19 | struct ecc_gr_t19x { | ||
20 | struct gk20a_ecc_stat sm_l1_tag_corrected_err_count; | ||
21 | struct gk20a_ecc_stat sm_l1_tag_uncorrected_err_count; | ||
22 | struct gk20a_ecc_stat sm_cbu_corrected_err_count; | ||
23 | struct gk20a_ecc_stat sm_cbu_uncorrected_err_count; | ||
24 | struct gk20a_ecc_stat sm_l1_data_corrected_err_count; | ||
25 | struct gk20a_ecc_stat sm_l1_data_uncorrected_err_count; | ||
26 | struct gk20a_ecc_stat sm_icache_corrected_err_count; | ||
27 | struct gk20a_ecc_stat sm_icache_uncorrected_err_count; | ||
28 | struct gk20a_ecc_stat gcc_l15_corrected_err_count; | ||
29 | struct gk20a_ecc_stat gcc_l15_uncorrected_err_count; | ||
30 | struct gk20a_ecc_stat fecs_corrected_err_count; | ||
31 | struct gk20a_ecc_stat fecs_uncorrected_err_count; | ||
32 | struct gk20a_ecc_stat gpccs_corrected_err_count; | ||
33 | struct gk20a_ecc_stat gpccs_uncorrected_err_count; | ||
34 | }; | ||
35 | |||
36 | #endif | ||