summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-05-12 08:14:05 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:03 -0400
commitbcf8c6411cebde9435b97cb6b575b947205688fa (patch)
treee735d8a85dbf3db36e87b3cd4b68e3bdad4116e7 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c
parent846f0c4f418d8f072876b6c087c6930153bdb0cd (diff)
gpu: nvgpu: Remove extraneous FB flush calls
gk20a_mm_fb_flush() invoked G_ELPG_FLUSH and FB_FLUSH. Remove the invokation of G_ELPG_FLUSH. Replace calls to gk20a_mm_fb_flush() with gk20a_mm_l2_flush() when appropriate. Bug 1421824 Change-Id: I02af4bdc3b7bd26d0f6a8d610f70349269775a36 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/408210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index dd492d92..3b0b020d 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2801,8 +2801,6 @@ int gk20a_mm_fb_flush(struct gk20a *g)
2801 2801
2802 mutex_lock(&mm->l2_op_lock); 2802 mutex_lock(&mm->l2_op_lock);
2803 2803
2804 g->ops.ltc.elpg_flush(g);
2805
2806 /* Make sure all previous writes are committed to the L2. There's no 2804 /* Make sure all previous writes are committed to the L2. There's no
2807 guarantee that writes are to DRAM. This will be a sysmembar internal 2805 guarantee that writes are to DRAM. This will be a sysmembar internal
2808 to the L2. */ 2806 to the L2. */