commit | d6e820fcd4cf08b11d291a1dd7bbd0636914647c | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Nov 29 16:25:10 2018 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Nov 30 12:12:16 2018 -0500 |
tree | 3a790a944e79e4c57e65138e4b27354e9d4a968e | |
parent | c6888879fd55b1ba903c2a770127edbf6aef6f27 [diff] |
drm/ttm: fix LRU handling in ttm_buffer_object_transfer We need to set the NO_EVICT flag on the ghost object or otherwise we are adding it to the LRU. When it is added to the LRU we can run into a race between destroying and evicting it again. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>