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/gr_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/gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index cf3842b6..9283a597 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -35,21 +35,6 @@ enum { | |||
35 | VOLTA_DMA_COPY_A = 0xC3B5, | 35 | VOLTA_DMA_COPY_A = 0xC3B5, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | struct gr_t19x { | ||
39 | struct { | ||
40 | struct gr_gp10b_ecc_stat sm_l1_tag_corrected_err_count; | ||
41 | struct gr_gp10b_ecc_stat sm_l1_tag_uncorrected_err_count; | ||
42 | struct gr_gp10b_ecc_stat sm_cbu_corrected_err_count; | ||
43 | struct gr_gp10b_ecc_stat sm_cbu_uncorrected_err_count; | ||
44 | struct gr_gp10b_ecc_stat sm_l1_data_corrected_err_count; | ||
45 | struct gr_gp10b_ecc_stat sm_l1_data_uncorrected_err_count; | ||
46 | struct gr_gp10b_ecc_stat sm_icache_corrected_err_count; | ||
47 | struct gr_gp10b_ecc_stat sm_icache_uncorrected_err_count; | ||
48 | struct gr_gp10b_ecc_stat gcc_l15_corrected_err_count; | ||
49 | struct gr_gp10b_ecc_stat gcc_l15_uncorrected_err_count; | ||
50 | } ecc_stats; | ||
51 | }; | ||
52 | |||
53 | #define NVC397_SET_SHADER_EXCEPTIONS 0x1528 | 38 | #define NVC397_SET_SHADER_EXCEPTIONS 0x1528 |
54 | #define NVC397_SET_CIRCULAR_BUFFER_SIZE 0x1280 | 39 | #define NVC397_SET_CIRCULAR_BUFFER_SIZE 0x1280 |
55 | #define NVC397_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc | 40 | #define NVC397_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc |