diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ecc_gk20a.h | 7 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.h | 1 |
4 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ecc_gk20a.h b/drivers/gpu/nvgpu/gk20a/ecc_gk20a.h index 8ba01226..1628cf8c 100644 --- a/drivers/gpu/nvgpu/gk20a/ecc_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/ecc_gk20a.h | |||
@@ -43,6 +43,13 @@ struct ecc_gk20a { | |||
43 | struct ecc_gr_t19x t19x; | 43 | struct ecc_gr_t19x t19x; |
44 | #endif | 44 | #endif |
45 | } gr; | 45 | } gr; |
46 | |||
47 | struct { | ||
48 | #ifdef CONFIG_TEGRA_19x_GPU | ||
49 | struct ecc_ltc_t19x t19x; | ||
50 | #endif | ||
51 | } ltc; | ||
52 | |||
46 | }; | 53 | }; |
47 | 54 | ||
48 | #endif /*__ECC_GK20A_H__*/ | 55 | #endif /*__ECC_GK20A_H__*/ |
diff --git a/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h index 454dcb20..c4a6c08e 100644 --- a/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifndef _NVGPU_ECC_GP10B_H_ | 16 | #ifndef _NVGPU_ECC_GP10B_H_ |
17 | #define _NVGPU_ECC_GP10B_H_ | 17 | #define _NVGPU_ECC_GP10B_H_ |
18 | 18 | ||
19 | #include <linux/version.h> | 19 | struct gk20a_ecc_stat; |
20 | 20 | ||
21 | struct ecc_gr_t18x { | 21 | struct ecc_gr_t18x { |
22 | struct gk20a_ecc_stat sm_lrf_single_err_count; | 22 | struct gk20a_ecc_stat sm_lrf_single_err_count; |
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c index 5cf5a644..b3026059 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -123,7 +123,7 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | static void gp10b_ltc_isr(struct gk20a *g) | 126 | void gp10b_ltc_isr(struct gk20a *g) |
127 | { | 127 | { |
128 | u32 mc_intr, ltc_intr; | 128 | u32 mc_intr, ltc_intr; |
129 | unsigned int ltc, slice; | 129 | unsigned int ltc, slice; |
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h index 7408348e..d7571c8d 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h | |||
@@ -15,5 +15,6 @@ | |||
15 | #define LTC_GP10B_H | 15 | #define LTC_GP10B_H |
16 | struct gpu_ops; | 16 | struct gpu_ops; |
17 | 17 | ||
18 | void gp10b_ltc_isr(struct gk20a *g); | ||
18 | void gp10b_init_ltc(struct gpu_ops *gops); | 19 | void gp10b_init_ltc(struct gpu_ops *gops); |
19 | #endif | 20 | #endif |