summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 0c64fcba..638f47f5 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -4587,6 +4587,12 @@ static int gk20a_init_gr_setup_hw(struct gk20a *g)
4587 if (err) 4587 if (err)
4588 goto out; 4588 goto out;
4589 4589
4590 if (g->ops.gr.init_preemption_state) {
4591 err = g->ops.gr.init_preemption_state(g);
4592 if (err)
4593 goto out;
4594 }
4595
4590 /* disable fe_go_idle */ 4596 /* disable fe_go_idle */
4591 gk20a_writel(g, gr_fe_go_idle_timeout_r(), 4597 gk20a_writel(g, gr_fe_go_idle_timeout_r(),
4592 gr_fe_go_idle_timeout_count_disabled_f()); 4598 gr_fe_go_idle_timeout_count_disabled_f());