diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/ltc_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/ltc_gv11b.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c b/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c index a596c3b2..9bfefa9e 100644 --- a/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c | |||
@@ -187,15 +187,3 @@ void gv11b_ltc_isr(struct gk20a *g) | |||
187 | /* fallback to other interrupts */ | 187 | /* fallback to other interrupts */ |
188 | gp10b_ltc_isr(g); | 188 | gp10b_ltc_isr(g); |
189 | } | 189 | } |
190 | |||
191 | u32 gv11b_ltc_cbc_fix_config(struct gk20a *g, int base) | ||
192 | { | ||
193 | u32 val = gk20a_readl(g, ltc_ltcs_ltss_cbc_num_active_ltcs_r()); | ||
194 | |||
195 | if (ltc_ltcs_ltss_cbc_num_active_ltcs__v(val) == 2) | ||
196 | return base * 2; | ||
197 | else if (ltc_ltcs_ltss_cbc_num_active_ltcs__v(val) != 1) { | ||
198 | nvgpu_err(g, "Invalid number of active ltcs: %08x", val); | ||
199 | } | ||
200 | return base; | ||
201 | } | ||