gpu: nvgpu: explicitly disable elcg during init

bug 200048467

Change-Id: I39f85a638b6bc97442ebf8e4a78e07c8575e4b20
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/592751
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Vijayakumar
2014-11-03 17:36:33 +05:30
committed by Dan Willemsen
parent 48fa098ffb
commit 1d0e302b53

View File

@@ -4411,6 +4411,9 @@ static int gk20a_init_gr_prepare(struct gk20a *g)
| mc_enable_perfmon_enabled_f());
gr_gk20a_load_gating_prod(g);
/* Disable elcg until it gets enabled later in the init*/
gr_gk20a_init_elcg_mode(g, ELCG_RUN, ENGINE_GR_GK20A);
gr_gk20a_init_elcg_mode(g, ELCG_RUN, ENGINE_CE2_GK20A);
/* enable fifo access */
gk20a_writel(g, gr_gpfifo_ctl_r(),