commit | ebd59851c796c221daf0d3b594fb2533f87161cf | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Tue Oct 06 13:35:32 2020 +0200 |
committer | Christian König <christian.koenig@amd.com> | Wed Mar 24 17:05:07 2021 +0100 |
tree | f05c2a00578b93e6728cb2368fa1b50e7a83af46 | |
parent | 976677b5958ef7f9973ea8ba952a96b7243f2c13 [diff] |
drm/ttm: move swapout logic around v3 Move the iteration of the global lru into the new function ttm_global_swapout() and use that instead in drivers. v2: consistently return int v3: fix build fail Signed-off-by: Christian König <christian.koenig@amd.com> Tested-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/424008/