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: NChristian König <christian.koenig@amd.com> Reported-by: NMikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Tested-by: NMikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Fixes: d099fc8f ("drm/ttm: new TT backend allocation pool v3") Reviewed-by: NHuang Rui <ray.huang@amd.com> Link: https://patchwork.freedesktop.org/patch/413409/
Showing
想要评论请 注册 或 登录