summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index c4c206c3..588a7d8f 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -22,6 +22,12 @@
22 22
23struct gpu_ops; 23struct gpu_ops;
24 24
25struct gr_gp10b_ecc_stat {
26 char **names;
27 u32 *counters;
28 struct hlist_node hash_node;
29};
30
25enum { 31enum {
26 PASCAL_CHANNEL_GPFIFO_A = 0xC06F, 32 PASCAL_CHANNEL_GPFIFO_A = 0xC06F,
27 PASCAL_A = 0xC097, 33 PASCAL_A = 0xC097,
@@ -45,12 +51,6 @@ int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size,
45 struct nvgpu_mem *mem); 51 struct nvgpu_mem *mem);
46void gr_gp10b_create_sysfs(struct device *dev); 52void gr_gp10b_create_sysfs(struct device *dev);
47 53
48struct ecc_stat {
49 char **names;
50 u32 *counters;
51 struct hlist_node hash_node;
52};
53
54struct gr_t18x { 54struct gr_t18x {
55 struct { 55 struct {
56 u32 preempt_image_size; 56 u32 preempt_image_size;
@@ -69,24 +69,24 @@ struct gr_t18x {
69 } ctx_vars; 69 } ctx_vars;
70 70
71 struct { 71 struct {
72 struct ecc_stat sm_lrf_single_err_count; 72 struct gr_gp10b_ecc_stat sm_lrf_single_err_count;
73 struct ecc_stat sm_lrf_double_err_count; 73 struct gr_gp10b_ecc_stat sm_lrf_double_err_count;
74 74
75 struct ecc_stat sm_shm_sec_count; 75 struct gr_gp10b_ecc_stat sm_shm_sec_count;
76 struct ecc_stat sm_shm_sed_count; 76 struct gr_gp10b_ecc_stat sm_shm_sed_count;
77 struct ecc_stat sm_shm_ded_count; 77 struct gr_gp10b_ecc_stat sm_shm_ded_count;
78 78
79 struct ecc_stat tex_total_sec_pipe0_count; 79 struct gr_gp10b_ecc_stat tex_total_sec_pipe0_count;
80 struct ecc_stat tex_total_ded_pipe0_count; 80 struct gr_gp10b_ecc_stat tex_total_ded_pipe0_count;
81 struct ecc_stat tex_unique_sec_pipe0_count; 81 struct gr_gp10b_ecc_stat tex_unique_sec_pipe0_count;
82 struct ecc_stat tex_unique_ded_pipe0_count; 82 struct gr_gp10b_ecc_stat tex_unique_ded_pipe0_count;
83 struct ecc_stat tex_total_sec_pipe1_count; 83 struct gr_gp10b_ecc_stat tex_total_sec_pipe1_count;
84 struct ecc_stat tex_total_ded_pipe1_count; 84 struct gr_gp10b_ecc_stat tex_total_ded_pipe1_count;
85 struct ecc_stat tex_unique_sec_pipe1_count; 85 struct gr_gp10b_ecc_stat tex_unique_sec_pipe1_count;
86 struct ecc_stat tex_unique_ded_pipe1_count; 86 struct gr_gp10b_ecc_stat tex_unique_ded_pipe1_count;
87 87
88 struct ecc_stat l2_sec_count; 88 struct gr_gp10b_ecc_stat l2_sec_count;
89 struct ecc_stat l2_ded_count; 89 struct gr_gp10b_ecc_stat l2_ded_count;
90 } ecc_stats; 90 } ecc_stats;
91 91
92 u32 fecs_feature_override_ecc_val; 92 u32 fecs_feature_override_ecc_val;