drm/amdgpu: Fix the lpfn checking condition in drm buddy
Because the value of man->size is changed during suspend/resume process, use mgr->mm.size instead of man->size here for lpfn checking. Signed-off-by: NMa Jun <Jun.Ma2@amd.com> Suggested-by: NChristian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220914125331.2467162-1-Jun.Ma2@amd.comSigned-off-by: NChristian König <christian.koenig@amd.com>
Showing
想要评论请 注册 或 登录