diff options
| author | Felix Kuehling <[email protected]> | 2019-06-26 06:32:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-27 16:19:36 +0000 |
| commit | f6319596535f157ce95504b193e0bfc3da7119e6 (patch) | |
| tree | 6867f99a9921823bae3b36a58a658b8ac1e84510 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amdgpu: drop copy/paste leftover to fix big endian (diff) | |
| download | kernel-f6319596535f157ce95504b193e0bfc3da7119e6.tar.gz kernel-f6319596535f157ce95504b193e0bfc3da7119e6.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
