]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add support for extended stolen vga memory
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 22:05:11 +0000 (18:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:28 +0000 (17:29 -0400)
commit47eba385b89c292d383b54dd552882321acfbb8e
tree4cb5d0f29e0fae0b9fb0c328f93c6b81c11cc2b8
parentd21c5b34967a247e41775e2094967fffe63a47b1
drm/amdgpu: add support for extended stolen vga memory

This will allow us to split the allocation for systems
where we have to keep the stolen memory around to avoid
S3 issues.  This way we don't waste as much memory and
still avoid any screen artifacts during the bios to
driver transition.

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