commit | f6319596535f157ce95504b193e0bfc3da7119e6 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Wed Jun 26 02:32:43 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jun 27 11:19:36 2019 -0500 |
tree | 6867f99a9921823bae3b36a58a658b8ac1e84510 | |
parent | 687ac4a702ea92873fb8c45acec0c30eae9acfa9 [diff] |
drm/ttm: return -EBUSY if waiting for busy BO fails Returning -EAGAIN prevents ttm_bo_mem_space from trying alternate placements and can lead to live-locks in amdgpu_cs, retrying indefinitely and never succeeding. Fixes: d367bd2a5e2b12 ("drm/ttm: fix busy memory to fail other user v10") Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>