diff options
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 | ||