Re: [PATCH] drm/amdgpu: Fix the lpfn checking condition in drm buddy

2022-09-14 Thread Christian König
Am 14.09.22 um 14:53 schrieb Ma Jun: 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: Ma Jun Suggested-by: Christian König Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amd

[PATCH] drm/amdgpu: Fix the lpfn checking condition in drm buddy

2022-09-14 Thread Ma Jun
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: Ma Jun Suggested-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff