From 48239f5f8cb5763cf4b6dc5db4668257da153cf9 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 8 May 2014 15:13:32 +0300 Subject: gpu: nvgpu: Prune redundant cache maintenance Remove redundant cache maintenance operations. Instance blocks and graphics context buffers are uncached, so they do not need any cache maintenance. Bug 1421824 Change-Id: Ie0be67bf0be493d9ec9e6f8226f2f9359cba9f54 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/406948 --- drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 234b43c2..fc37bbd4 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c @@ -1937,8 +1937,6 @@ static int gk20a_vm_put_empty(struct vm_gk20a *vm, u64 vaddr, vaddr += pgsz; } - gk20a_mm_l2_flush(mm->g, true); - return 0; err_unmap: -- cgit v1.2.2