diff options
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index 07d405b2..5da21c64 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -184,6 +184,15 @@ static void gm20b_ltc_init_fs_state(struct gk20a *g) | |||
184 | ltc_ltcs_ltss_dstg_cfg0_vdc_4to2_disable_m()); | 184 | ltc_ltcs_ltss_dstg_cfg0_vdc_4to2_disable_m()); |
185 | } | 185 | } |
186 | 186 | ||
187 | void gm20b_ltc_isr(struct gk20a *g) | ||
188 | { | ||
189 | u32 intr; | ||
190 | |||
191 | intr = gk20a_readl(g, ltc_ltc0_ltss_intr_r()); | ||
192 | gk20a_err(dev_from_gk20a(g), "ltc: %08x\n", intr); | ||
193 | gk20a_writel(g, ltc_ltc0_ltss_intr_r(), intr); | ||
194 | } | ||
195 | |||
187 | void gm20b_init_ltc(struct gpu_ops *gops) | 196 | void gm20b_init_ltc(struct gpu_ops *gops) |
188 | { | 197 | { |
189 | /* Gk20a reused ops. */ | 198 | /* Gk20a reused ops. */ |
@@ -201,4 +210,5 @@ void gm20b_init_ltc(struct gpu_ops *gops) | |||
201 | gops->ltc.init_comptags = gm20b_ltc_init_comptags; | 210 | gops->ltc.init_comptags = gm20b_ltc_init_comptags; |
202 | gops->ltc.cbc_ctrl = gm20b_ltc_cbc_ctrl; | 211 | gops->ltc.cbc_ctrl = gm20b_ltc_cbc_ctrl; |
203 | gops->ltc.elpg_flush = gk20a_mm_g_elpg_flush_locked; | 212 | gops->ltc.elpg_flush = gk20a_mm_g_elpg_flush_locked; |
213 | gops->ltc.isr = gm20b_ltc_isr; | ||
204 | } | 214 | } |