diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ltc_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c index dbeed474..78c85f3e 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -148,6 +148,14 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | void gp10b_ltc_init_fs_state(struct gk20a *g) | ||
152 | { | ||
153 | gm20b_ltc_init_fs_state(g); | ||
154 | |||
155 | gk20a_writel(g, ltc_ltca_g_axi_pctrl_r(), | ||
156 | ltc_ltca_g_axi_pctrl_user_sid_f(31)); | ||
157 | } | ||
158 | |||
151 | void gp10b_init_ltc(struct gpu_ops *gops) | 159 | void gp10b_init_ltc(struct gpu_ops *gops) |
152 | { | 160 | { |
153 | gops->ltc.determine_L2_size_bytes = gp10b_determine_L2_size_bytes; | 161 | gops->ltc.determine_L2_size_bytes = gp10b_determine_L2_size_bytes; |
@@ -157,7 +165,7 @@ void gp10b_init_ltc(struct gpu_ops *gops) | |||
157 | gops->ltc.init_cbc = gk20a_ltc_init_cbc; | 165 | gops->ltc.init_cbc = gk20a_ltc_init_cbc; |
158 | 166 | ||
159 | /* GM20b specific ops. */ | 167 | /* GM20b specific ops. */ |
160 | gops->ltc.init_fs_state = gm20b_ltc_init_fs_state; | 168 | gops->ltc.init_fs_state = gp10b_ltc_init_fs_state; |
161 | gops->ltc.init_comptags = gp10b_ltc_init_comptags; | 169 | gops->ltc.init_comptags = gp10b_ltc_init_comptags; |
162 | gops->ltc.cbc_ctrl = gm20b_ltc_cbc_ctrl; | 170 | gops->ltc.cbc_ctrl = gm20b_ltc_cbc_ctrl; |
163 | gops->ltc.elpg_flush = gm20b_ltc_g_elpg_flush_locked; | 171 | gops->ltc.elpg_flush = gm20b_ltc_g_elpg_flush_locked; |