drm/amdgpu: add amdgpu_pasid_free_delayed v2
authorChristian König <christian.koenig@amd.com>
Fri, 5 Jan 2018 10:16:22 +0000 (11:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:45 +0000 (14:17 -0500)
commit4b5f75504975b42377fa198b0672c9a52eb728e0
tree45494d7c4149ddb3e620c68d1fa541e3712cba97
parent373ac645c9b83ffd93f9905458166b25191a8df6
drm/amdgpu: add amdgpu_pasid_free_delayed v2

Free up a pasid after all fences signaled.

v2: also handle the case when we can't allocate a fence array.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h