drm/amdkfd: Signal eviction fence on process destruction (v2)
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 4 Mar 2020 20:57:23 +0000 (15:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Mar 2020 19:40:30 +0000 (14:40 -0500)
commit129657c86f859e37cdfe48e97b00af89584aa62a
tree2e73e3060a207991b2946c9e7ca1c402525890a6
parentcc9f2fba37e5f64b84fe0bf49f7988124cf38d76
drm/amdkfd: Signal eviction fence on process destruction (v2)

Otherwise BOs may wait for the fence indefinitely and never be destroyed.

v2: Signal the fence right after destroying queues to avoid unnecessary
    delaye-delete in kfd_process_wq_release

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: xinhui pan <xinhui.pan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process.c