From b722abe82241536bbd696250e0a89b79aab96924 Mon Sep 17 00:00:00 2001 From: Aingara Paramakuru Date: Mon, 2 Mar 2015 21:39:50 -0500 Subject: gpu: nvgpu: vgpu: remove explicit TLB invalidate The server does an implicit TLB invalidate after map and unmap operations. Bug 1616964 Change-Id: Ib6f4a23389f1e5d796d0f4b0be312f438c52927c Signed-off-by: Aingara Paramakuru Reviewed-on: http://git-master/r/713221 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu') diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index 9b7c7dbd..b3a8a885 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c @@ -116,7 +116,7 @@ static u64 vgpu_locked_gmmu_map(struct vm_gk20a *vm, if (err || msg.ret) goto fail; - g->ops.mm.tlb_invalidate(vm); + /* TLB invalidate handled on server side */ return map_offset; fail: @@ -158,7 +158,7 @@ static void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm, dev_err(dev_from_vm(vm), "failed to update gmmu ptes on unmap"); - g->ops.mm.tlb_invalidate(vm); + /* TLB invalidate handled on server side */ } static void vgpu_vm_remove_support(struct vm_gk20a *vm) -- cgit v1.2.2