[RFC PATCH 0/5] Move video memory reservation for SPL at the end of RAM

Devarsh Thakkar devarsht at ti.com
Mon Oct 16 18:06:06 CEST 2023


Move video memory reservation for SPL at end of RAM so that it does
not interefere with reservations for next stage so that the next stage
need not have holes in between for passed regions and instead it can
maintain continuity in reservations.

Also catch the bloblist before starting reservations to avoid the same
problem.

While at it, also fill missing fields in video handoff struct before
passing it to next stage.

This is as per discussions at :
For moving SPL framebuffer reservation at end of RAM:

https://lore.kernel.org/all/CAPnjgZ3xSoe_G3yrqwuAvoiVjUfZ+YQgkOR0ZTVXGT9VK8TwJg@mail.gmail.com/

For filling missing video handoff fields :
https://lore.kernel.org/all/CAPnjgZ1Hs0rNf0JDirp6YPsOQ5=QqQSP9g9qRwLoOASUV8a4cw@mail.gmail.com/ *** SUBJECT HERE ***

Devarsh Thakkar (5):
  arm: mach-k3: common: Reserve video memory from end of the RAM
  board: ti: am62x: evm: Remove video_setup from spl_board_init
  common/board_f: Catch bloblist before starting resevatinos
  video: Skip framebuffer reservation if already reserved
  video: Fill video handoff in video post probe

 arch/arm/mach-k3/common.c    | 21 +++++++++++++++++++++
 board/ti/am62x/evm.c         | 18 ------------------
 common/board_f.c             | 36 +++++++++++++++++++++++++++++++++---
 drivers/video/video-uclass.c | 33 +++++++++++++++++++++++----------
 4 files changed, 77 insertions(+), 31 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list