summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h
blob: c4a6c08ecf62caf402c7bb708cfd14c8297a39c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * GP10B ECC
 *
 * Copyright (c) 2015-2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#ifndef _NVGPU_ECC_GP10B_H_
#define _NVGPU_ECC_GP10B_H_

struct gk20a_ecc_stat;

struct ecc_gr_t18x {
	struct gk20a_ecc_stat sm_lrf_single_err_count;
	struct gk20a_ecc_stat sm_lrf_double_err_count;

	struct gk20a_ecc_stat sm_shm_sec_count;
	struct gk20a_ecc_stat sm_shm_sed_count;
	struct gk20a_ecc_stat sm_shm_ded_count;

	struct gk20a_ecc_stat tex_total_sec_pipe0_count;
	struct gk20a_ecc_stat tex_total_ded_pipe0_count;
	struct gk20a_ecc_stat tex_unique_sec_pipe0_count;
	struct gk20a_ecc_stat tex_unique_ded_pipe0_count;
	struct gk20a_ecc_stat tex_total_sec_pipe1_count;
	struct gk20a_ecc_stat tex_total_ded_pipe1_count;
	struct gk20a_ecc_stat tex_unique_sec_pipe1_count;
	struct gk20a_ecc_stat tex_unique_ded_pipe1_count;

	struct gk20a_ecc_stat l2_sec_count;
	struct gk20a_ecc_stat l2_ded_count;
};
#endif