drm/ttm: Skip swapout if ttm object is not populated
Swapping a ttm object which has no backend pages makes no sense. Suggested-by: NChristian König <christian.koenig@amd.com> Signed-off-by: Nxinhui pan <xinhui.pan@amd.com> Reviewed-by: NChristian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210521083112.33176-1-xinhui.pan@amd.com CC: stable@kernel.org Signed-off-by: NChristian König <christian.koenig@amd.com>
Showing
想要评论请 注册 或 登录