diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-05-12 08:00:43 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:53 -0400 |
commit | 0d7533fb4f49b1e9f1a64f6baacf253c47b4e409 (patch) | |
tree | 86d082405a3e8f0b55593154fee44c81f79ef7a9 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |
parent | 2fbf6e7afb316d698d0062828876eeed1a1b43b2 (diff) |
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
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index fc37bbd4..579ff568 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2989,8 +2989,7 @@ int gk20a_mm_suspend(struct gk20a *g) | |||
2989 | { | 2989 | { |
2990 | gk20a_dbg_fn(""); | 2990 | gk20a_dbg_fn(""); |
2991 | 2991 | ||
2992 | gk20a_mm_fb_flush(g); | 2992 | g->ops.ltc.elpg_flush(g); |
2993 | gk20a_mm_l2_flush(g, true); | ||
2994 | 2993 | ||
2995 | gk20a_dbg_fn("done"); | 2994 | gk20a_dbg_fn("done"); |
2996 | return 0; | 2995 | return 0; |