]> 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)
commit0cf9c3643a314ba45ccc86c5d7a1feccc6d53a8e
tree8719ce78da583321a7c7d3f50473fffac39f6bc9
parenta64e7954ae9706832f987d6b426946573ef0de42
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