diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-09-12 05:37:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-17 17:39:10 -0400 |
commit | 70e04628617840f65768a6ec681fa42b042e99e1 (patch) | |
tree | 1f26a3ca7bfdb7132dd6d74ecc05e6082f03b384 | |
parent | a8e260bc8dcc0ce9efe622f01ff9a1b2db24f8df (diff) |
gpu: nvgpu: skip pramin barriers for page tables
Page table updates have an explicit write barrier at the end of a pte
update operation in update_gmmu_ptes_locked(), so the per-wr32 wmb()s
are not necessary.
Jira DNVGPU-23
Change-Id: I2e2596f0900d840fadb369ee1261c5e2305f2070
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1225150
(cherry picked from commit 6664a667ea326e9663a6b502765f858d8669f4d9)
Reviewed-on: http://git-master/r/1227475
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 4ae09e89..1bacb70a 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -1375,6 +1375,7 @@ static int gk20a_zalloc_gmmu_page_table(struct vm_gk20a *vm, | |||
1375 | if (err) | 1375 | if (err) |
1376 | return err; | 1376 | return err; |
1377 | entry->pgsz = pgsz_idx; | 1377 | entry->pgsz = pgsz_idx; |
1378 | entry->mem.skip_wmb = true; | ||
1378 | 1379 | ||
1379 | return err; | 1380 | return err; |
1380 | } | 1381 | } |