1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
From aeb0aeac2e4f23bb58a642c720883ceba407c072 Mon Sep 17 00:00:00 2001
From: "monk.liu" <monk.liu@amd.com>
Date: Tue, 26 May 2015 15:03:45 +0800
Subject: [PATCH 0230/1050] drm/amdgpu: fence should be added to shared slot
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: jammy zhou <jammy.zhou@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 4d26b30..fd28e89 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -344,7 +344,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev,
if (r)
goto error_free;
- amdgpu_bo_fence(bo, ib.fence, false);
+ amdgpu_bo_fence(bo, ib.fence, true);
error_free:
amdgpu_ib_free(adev, &ib);
@@ -462,7 +462,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
amdgpu_ib_free(adev, &ib);
return r;
}
- amdgpu_bo_fence(pd, ib.fence, false);
+ amdgpu_bo_fence(pd, ib.fence, true);
}
amdgpu_ib_free(adev, &ib);
--
1.9.1
|