]> 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 15:06:40 +0000 (10:06 -0500)
commit73f8e9e9253cb76b2d3a0f7e4e96d9ba91438e1d
tree9bad07835944cc9d845ad442809f4fef8840dd82
parentb87a52a604ff56b9a213ec27c7727696fa292ca2
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c