[PATCH 00/14] rework stolen pre-OS fb allocation handling
Alex Deucher
alexdeucher at gmail.com
Tue Jul 28 22:45:51 UTC 2020
Split the allocations into two so we can still support the S3
workarounds required on some platforms while also avoiding
any artifacts when transitioning from bios to driver.
In the future we could integrate handling of the ip discovery
data and other vbios allocations into this helper function
to consolidate handling of all of the vbios reservations.
Alex Deucher (14):
drm/amdgpu: handle bo size 0 in amdgpu_bo_create_kernel_at
drm/amdgpu: use create_at for the stolen pre-OS buffer
drm/amdgpu: use a define for the memory size of the vga emulator
drm/amdgpu: move stolen vga bo from amdgpu to amdgpu.gmc
drm/amdgpu: move keep stolen memory check into gmc core
drm/amdgpu: add support for extended stolen vga memory
drm/amdgpu/gmc: add new helper to get the FB size used by pre-OS
console
drm/amdgpu/gmc6: switch to using amdgpu_gmc_get_vbios_allocations
drm/amdgpu/gmc7: switch to using amdgpu_gmc_get_vbios_allocations
drm/amdgpu/gmc8: switch to using amdgpu_gmc_get_vbios_allocations
drm/amdgpu/gmc9: switch to using amdgpu_gmc_get_vbios_allocations
drm/amdgpu/gmc10: switch to using amdgpu_gmc_get_vbios_allocations
drm/amdgpu: drop the CPU pointers for the stolen vga bos
drm/amdgpu/gmc: disable keep_stolen_vga_memory on arcturus
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 42 ++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 11 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 5 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 24 +++--
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 57 +++++-----
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 8 +-
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 11 +-
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 11 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 119 +++++++--------------
10 files changed, 153 insertions(+), 138 deletions(-)
--
2.25.4
More information about the amd-gfx
mailing list