diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2015-03-02 21:39:50 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:09:20 -0400 |
commit | b722abe82241536bbd696250e0a89b79aab96924 (patch) | |
tree | cd22d2dd85a8f947a700baa31058664fe68c0e8b | |
parent | 05295a6824a9e805b3c017e8b1287b77597d69b0 (diff) |
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 <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/713221
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
116 | if (err || msg.ret) | 116 | if (err || msg.ret) |
117 | goto fail; | 117 | goto fail; |
118 | 118 | ||
119 | g->ops.mm.tlb_invalidate(vm); | 119 | /* TLB invalidate handled on server side */ |
120 | 120 | ||
121 | return map_offset; | 121 | return map_offset; |
122 | fail: | 122 | fail: |
@@ -158,7 +158,7 @@ static void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm, | |||
158 | dev_err(dev_from_vm(vm), | 158 | dev_err(dev_from_vm(vm), |
159 | "failed to update gmmu ptes on unmap"); | 159 | "failed to update gmmu ptes on unmap"); |
160 | 160 | ||
161 | g->ops.mm.tlb_invalidate(vm); | 161 | /* TLB invalidate handled on server side */ |
162 | } | 162 | } |
163 | 163 | ||
164 | static void vgpu_vm_remove_support(struct vm_gk20a *vm) | 164 | static void vgpu_vm_remove_support(struct vm_gk20a *vm) |