Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/ttm: Don't add swapped BOs to swap-LRU list
A BO that's already swapped would be added back to the swap-LRU list for example if it validation failed under high memory pressure. This could later lead to swapping it out again and leaking previous swap storage. This commit adds a condition to prevent that from happening. Change-Id: I5f1fd06652ed8fc82f9f2c6c94ab3921a6c85b7a Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
- Loading branch information