diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-05-08 07:43:27 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:20 -0400 |
commit | c8a5d3f908977b55f48e94f31e35e0534c4087cd (patch) | |
tree | 7c095ae930537a6974a5ffe344ca80015b980907 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 4ac110cb8a46a0c91a4a1e39c168de1b49688971 (diff) |
gpu: nvgpu: Fix TLB invalidate race
TLB invalidate can have a race if several contexts use the same
address space. One thread starting an invalidate allows another
thread to submit before invalidate is completed.
Bug 1502332
Change-Id: I074ec493eac3b153c5f23d796a1dee1d8db24855
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/407578
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index e5d76f8f..4dfc2b7d 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -322,7 +322,6 @@ struct mm_gk20a { | |||
322 | struct inst_desc inst_block; | 322 | struct inst_desc inst_block; |
323 | } pmu; | 323 | } pmu; |
324 | 324 | ||
325 | struct mutex tlb_lock; | ||
326 | struct mutex l2_op_lock; | 325 | struct mutex l2_op_lock; |
327 | 326 | ||
328 | void (*remove_support)(struct mm_gk20a *mm); | 327 | void (*remove_support)(struct mm_gk20a *mm); |