[PATCH 2/7] drm/amdgpu: check base size instead of mem.num_pages