gpu: nvgpu: When rail gating, flush only once

When rail gating invoke G_ELPG_FLUSH only once.

Bug 1421824

Change-Id: Ibde0e32b212e3b030e69a9cb837c87789887aabb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/408209
This commit is contained in:
Terje Bergstrom
2014-05-12 15:00:43 +03:00
committed by Dan Willemsen
parent 2fbf6e7afb
commit 0d7533fb4f

View File

@@ -2989,8 +2989,7 @@ int gk20a_mm_suspend(struct gk20a *g)
{
gk20a_dbg_fn("");
gk20a_mm_fb_flush(g);
gk20a_mm_l2_flush(g, true);
g->ops.ltc.elpg_flush(g);
gk20a_dbg_fn("done");
return 0;