diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2016-09-06 14:41:33 -0400 |
---|---|---|
committer | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2016-09-22 14:14:47 -0400 |
commit | 05a64d53bc34edc424528b605e0ad9c5013cd12b (patch) | |
tree | 5a57f077220cb715a6c5e62d1442073ef825b51e /drivers | |
parent | 95d9bb8a572abb973fea487818c65d9b12fbb81d (diff) |
drm/amdgpu: Use AMDGPU_FENCE_OWNER_VM in unmap
Temporary commit until a permanent solution is provided by the amdgpu
team. For KFD applications VM updates should ignore KFD eviction fence.
If this change is not there then there is no easy way to identify VM map
and unmaps.
Change-Id: I23212f42803f2232e35ad5d5baceced0ab24432a
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 6b7eab853065..b535946fae89 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -1039,10 +1039,6 @@ static int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev, vm_update_params.src = src; vm_update_params.pages_addr = pages_addr; - /* sync to everything on unmapping */ - if (!(flags & AMDGPU_PTE_VALID)) - owner = AMDGPU_FENCE_OWNER_UNDEFINED; - /* If update flag is set to CPU, then try to update PT entries directly * by CPU. If failed, fallback to SDMA update. */ |