drm/amdgpu: Add input fence to sync bo unmap
This patch adds input fences to VM_IOCTL for unmapping an object. The kernel will unmap the BO only when the fence is signaled.
V2: Bug fix (Arvind)
Cc: Alex Deucher alexander.deucher@amd.com Cc: Christian Koenig christian.koenig@amd.com Signed-off-by: Arvind Yadav arvind.yadav@amd.com Signed-off-by: Shashank Sharma shashank.sharma@amd.com