]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Remove extraneous FB flush calls
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 12 May 2014 12:14:05 +0000 (15:14 +0300)
committerSimone Willett <swillett@nvidia.com>
Tue, 17 Jun 2014 16:37:29 +0000 (09:37 -0700)
commit18a3fb7b22921316eeaa037b276ca183573b8732
treeac8c86f4ded96b39c345dce9df999b942e20c072
parent4640f3e3ccf3443f649cdc6533e3c78982444120
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
(cherry picked from commit f02f34a8d214d883c949ab55fe872d4176a21bc5)
Reviewed-on: http://git-master/r/423233
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/gpu/nvgpu/gk20a/gr_gk20a.c
drivers/gpu/nvgpu/gk20a/mm_gk20a.c