diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-12-14 11:00:47 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-15 11:35:42 -0500 |
commit | 7eded018bfeccb365963bb51be731a9f99aeea59 (patch) | |
tree | bead5a01643c90923a0fc6e9846b351008f93ca0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
parent | 3aa883ac8eea38281f97a7409d2922e6f343bf6c (diff) |
drm/amdgpu: fix regression in vbios reservation handling on headless
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions