commit | 827ed2b06b05a9e9791e10f03096cc5ddd85bc44 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Fri Dec 15 13:36:49 2017 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Dec 18 11:52:47 2017 -0500 |
tree | b4ca0b86b5dff59bc36c01c4e6f13721eb11c2c0 | |
parent | 3b1186fd2aa4ab09b199580d9254c61eb6b6cfbc [diff] |
drm/ttm: use try_lock in ttm_bo_delayed_delete again We only need to wait for the contended lock when the reservation object is shared or when we want to remove everything. A trylock should be sufficient in all other cases. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Roger He <Hongbo.He@amd.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>