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)
commit0635019412eb2db60fb1d34be8ed8225a0c70bd9
tree4cb5d0f29e0fae0b9fb0c328f93c6b81c11cc2b8
parent5db62dc8d4f35dc11054f24ba2c86f6c3422918a
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