]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: fix size calculation with stolen vga memory
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Dec 2020 18:12:29 +0000 (13:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:06:37 +0000 (23:06 -0500)
commit300186795254f848900de2f1485b8b31dda3dbc0
tree8719ce78da583321a7c7d3f50473fffac39f6bc9
parent64f2c15892ae9dd8f0073f576601b1c9582d823b
drm/amdgpu: fix size calculation with stolen vga memory

If we need to keep the stolen vga memory, make sure it is
at least as big as the legacy vga size.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c