summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c
index 36071223..58e62d32 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c
@@ -72,6 +72,8 @@ int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr)
72 &g->gr.ctx_vars.ctxsw_regs.pm_gpc.count); 72 &g->gr.ctx_vars.ctxsw_regs.pm_gpc.count);
73 gk20a_sim_esc_readl(g, "GRCTX_REG_LIST_PM_TPC_COUNT", 0, 73 gk20a_sim_esc_readl(g, "GRCTX_REG_LIST_PM_TPC_COUNT", 0,
74 &g->gr.ctx_vars.ctxsw_regs.pm_tpc.count); 74 &g->gr.ctx_vars.ctxsw_regs.pm_tpc.count);
75 gk20a_sim_esc_readl(g, "GRCTX_REG_LIST_PPC_COUNT", 0,
76 &g->gr.ctx_vars.ctxsw_regs.ppc.count);
75 gk20a_sim_esc_readl(g, "GRCTX_REG_LIST_ETPC_COUNT", 0, 77 gk20a_sim_esc_readl(g, "GRCTX_REG_LIST_ETPC_COUNT", 0,
76 &g->gr.ctx_vars.ctxsw_regs.etpc.count); 78 &g->gr.ctx_vars.ctxsw_regs.etpc.count);
77 79