diff options
| author | Christian König <[email protected]> | 2021-11-03 09:37:06 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2022-01-19 07:25:50 +0000 |
| commit | acde6234f65bad89a2e27d3e8dd2daf680862545 (patch) | |
| tree | 47d599947a900a0af0e484b4a2fd7be9825dd5fc /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm: move the buddy allocator from i915 into common drm (diff) | |
| download | kernel-acde6234f65bad89a2e27d3e8dd2daf680862545.tar.gz kernel-acde6234f65bad89a2e27d3e8dd2daf680862545.zip | |
drm/amdgpu: remove excl as shared workarounds
This was added because of the now dropped shared on excl dependency.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index c0d8f40a5b45..9b12cab5e606 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -226,12 +226,6 @@ static void amdgpu_gem_object_close(struct drm_gem_object *obj, if (!amdgpu_vm_ready(vm)) goto out_unlock; - fence = dma_resv_excl_fence(bo->tbo.base.resv); - if (fence) { - amdgpu_bo_fence(bo, fence, true); - fence = NULL; - } - r = amdgpu_vm_clear_freed(adev, vm, &fence); if (r || !fence) goto out_unlock; |
