The fence in amdgpu_gem_va_update_vm is not used after amdgpu_gem_update_bo_mapping. Signed-off-by: YuanShang <YuanShang.Mao@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 8b67aae6c2fe..aedc0c8ee469 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -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: -- 2.25.1