drm/amdgpu - Put the fence returned by amdgpu_gem_va_update_vm
Subsystems (2)
PATCH 1/1 drm/amdgpu - Put the fence returned by amdgpu_gem_va_update_vm
The fence in amdgpu_gem_va_update_vm is not used after amdgpu_gem_update_bo_mapping.
Signed-off-by YuanShang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +2 -0
@@ -973,6 +973,8 @@ int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data, args->vm_timeline_point, fence, timeline_syncobj, timeline_chain); + +dma_fence_put (fence); } error:
Signature · 1 line
2.25.1