commit | bb52cb0dec8d2fecdb22843a805131478a180728 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Mon Jan 11 14:44:57 2021 +0100 |
committer | Christian König <christian.koenig@amd.com> | Tue Jan 12 14:02:08 2021 +0100 |
tree | 5172ddc454fda096f654d80b83501f084be6ba1d | |
parent | a5e92ef3c3fd46320d4e293bdec0cdd4b80a6e0f [diff] |
drm/ttm: make the pool shrinker lock a mutex set_pages_wb() might sleep and so we can't do this in an atomic context. Signed-off-by: Christian König <christian.koenig@amd.com> Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Reviewed-by: Huang Rui <ray.huang@amd.com> Link: https://patchwork.freedesktop.org/patch/413409/