Skip to content
Commit bb52cb0d authored by Christian König's avatar Christian König
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarMikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Tested-by: default avatarMikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Fixes: d099fc8f ("drm/ttm: new TT backend allocation pool v3")
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/413409/
parent a5e92ef3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment