diff options
author | 2022-07-08 09:22:44 +0800 | |
---|---|---|
committer | 2022-07-18 11:45:23 -0400 | |
commit | e1aadbab445b06e072013a1365fd0cf2aa25e843 (patch) | |
tree | a5044a813acaf09bdd01828f7cf2673cee9e1bd5 /drivers/gpu | |
parent | drm/amd/display: Fix new dmub notification enabling in DM (diff) | |
download | linux-e1aadbab445b06e072013a1365fd0cf2aa25e843.tar.gz linux-e1aadbab445b06e072013a1365fd0cf2aa25e843.tar.bz2 linux-e1aadbab445b06e072013a1365fd0cf2aa25e843.zip |
drm/amdgpu: Remove one duplicated ef removal
That has been done in BO release notify.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2074
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c index 6b6d46e29e6e..4608599ba6bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c @@ -1364,16 +1364,10 @@ void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev, struct amdgpu_vm *vm) { struct amdkfd_process_info *process_info = vm->process_info; - struct amdgpu_bo *pd = vm->root.bo; if (!process_info) return; - /* Release eviction fence from PD */ - amdgpu_bo_reserve(pd, false); - amdgpu_bo_fence(pd, NULL, false); - amdgpu_bo_unreserve(pd); - /* Update process info */ mutex_lock(&process_info->lock); process_info->n_vms--; |