]> git.baikalelectronics.ru Git - kernel.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)
commit323d34fa67ea5df30f6bc0ef8580162a8172be40
tree8719ce78da583321a7c7d3f50473fffac39f6bc9
parent9189a6df1bd84df2338db3e962708be5c4d70416
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