summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/ecc_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/ecc_gv11b.h36
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
19struct 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