commit | 082f0f21f71c522491a0cac4895b32bbab1b1006 | [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:00:57 2018 -0500 |
tree | 7525ddd4c305a97aa13e0f3b2ba4b1d752b5ef51 | |
parent | fb6e4709e32ce2c8eae2ca03d2175c3c24adbc54 [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>