commit | c51e3679ebb532ad05483738ead6eb0a59c985a0 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Mon Dec 14 11:00:47 2020 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:54 2020 +0100 |
tree | f6d7694c82c151f4f0c67014f0e01afbab2d3fd9 | |
parent | 33e8ef090befe0e1177183ef2d0a5c16abbf3495 [diff] |
drm/amdgpu: fix regression in vbios reservation handling on headless [ Upstream commit 7eded018bfeccb365963bb51be731a9f99aeea59 ] We need to move the check under the non-headless case, otherwise we always reserve the VGA save size. Fixes: 157fe68d74c2ad ("drm/amdgpu: fix size calculation with stolen vga memory") Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>