rework stolen pre-OS fb allocation handling (v3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | drm/amdgpu: handle bo size 0 in amdgpu_bo_create_kernel_at (v2)drivers/ | +3 | 0 replies | |
| 2/17 | drm/amdgpu: use create_at for the stolen pre-OS bufferdrivers/ | +4 | 0 replies | |
| 3/17 | drm/amdgpu: use a define for the memory size of the vga emulatordrivers/ drivers/ drivers/ +3 more | +8 | 0 replies | |
| 4/17 | drm/amdgpu: move stolen vga bo from amdgpu to amdgpu.gmcdrivers/ drivers/ drivers/ +5 more | +11 | 0 replies | |
| 5/17 | drm/amdgpu: move keep stolen memory check into gmc coredrivers/ drivers/ drivers/ | +12 | 0 replies | |
| 6/17 | drm/amdgpu: add support for extended stolen vga memorydrivers/ drivers/ | +13 | 0 replies | |
| 7/17 | drm/amdgpu/gmc: add new helper to get the FB size used by pre-OS consoledrivers/ drivers/ | +48 | 0 replies | |
| 8/17 | drm/amdgpu/gmc6: switch to using amdgpu_gmc_get_vbios_allocationsdrivers/ | +2 | 0 replies | |
| 9/17 | drm/amdgpu/gmc7: switch to using amdgpu_gmc_get_vbios_allocationsdrivers/ | +4 | 0 replies | |
| 10/17 | drm/amdgpu/gmc8: switch to using amdgpu_gmc_get_vbios_allocationsdrivers/ | +4 | 0 replies | |
| 11/17 | drm/amdgpu/gmc9: switch to using amdgpu_gmc_get_vbios_allocationsdrivers/ | +38 | 0 replies | |
| 12/17 | drm/amdgpu/gmc10: switch to using amdgpu_gmc_get_vbios_allocationsdrivers/ | +25 | 0 replies | |
| 13/17 | drm/amdgpu: drop the CPU pointers for the stolen vga bosdrivers/ | +5 | 0 replies | |
| 14/17 | drm/amdgpu/gmc: disable keep_stolen_vga_memory on arcturusdrivers/ | +0 | 0 replies | |
| 15/17 | drm/amdgpu: move stolen memory from gmc to mmandrivers/ drivers/ drivers/ +1 more | +22 | 0 replies | |
| 16/17 | drm/amdgpu: move IP discovery data to mmandrivers/ drivers/ drivers/ +2 more | +44 | 0 replies | |
| 17/17 | drm/amdgpu: move vram usage by vbios to mman (v2)drivers/ drivers/ drivers/ +3 more | +23 | 1 reply |
Reviews trailers per patch
All 17 patches have a Reviewed-by or Acked-by.
| Patch | Christian König | Felix Kuehling |
|---|---|---|
| 1/17 | R-b | R-b |
| 2/17 | R-b | R-b |
| 3/17 | R-b | R-b |
| 4/17 | R-b | R-b |
| 5/17 | R-b | R-b |
| 6/17 | R-b | R-b |
| 7/17 | R-b | R-b |
| 8/17 | R-b | R-b |
| 9/17 | R-b | R-b |
| 10/17 | R-b | R-b |
| 11/17 | R-b | R-b |
| 12/17 | R-b | R-b |
| 13/17 | R-b | R-b |
| 14/17 | R-b | R-b |
| 15/17 | R-b | |
| 16/17 | R-b | |
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/17] rework stolen pre-OS fb allocation handling (v3)
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.
v2: Check if bo object is NULL rather than checking size
Move all vbios/firmware allocations into mman structure
v3: Inline fw vram usage structure
Alex Deucher (17):
drm/amdgpu: handle bo size 0 in amdgpu_bo_create_kernel_at (v2) 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 drm/amdgpu: move stolen memory from gmc to mman drm/amdgpu: move IP discovery data to mman
drm/amdgpu: move vram usage by vbios to mman (v2)
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 20 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 4 +- .../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 54 ++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 42 +++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 64 ++++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 17 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 6 +- 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 ++++++------------ 16 files changed, 219 insertions(+), 211 deletions(-)
Signature · 6 lines
2.25.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx