aboutsummaryrefslogtreecommitdiff
path: root/doc/usage
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-01 19:14:36 -0600
committerSimon Glass <sjg@chromium.org>2023-11-14 20:04:00 -0700
commita75cf70d23ac8d4dbccf13f0a9589aaf6a552bff (patch)
tree1dc9663225cba5c1673fce156046f638a8c1fb78 /doc/usage
parent92b27528d777ce85362af45e7d2974a6c856219b (diff)
efi: Correct handling of frame buffer
The efi_gop driver uses private fields from the video uclass to obtain a pointer to the frame buffer. Use the platform data instead. Check the VIDEO_COPY setting to determine which frame buffer to use. Once the next stage is running (and making use of U-Boot's EFI boot services) U-Boot does not handle copying from priv->fb to the hardware framebuffer, so we must allow EFI to write directly to the hardware framebuffer. We could provide a function to read this, but it seems better to just document how it works. The original change ignored an explicit comment in the video.h file ("Things that are private to the uclass: don't use these in the driver") which is why this was missed when the VIDEO_COPY feature was added. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 8f661a5b662 ("efi_loader: gop: Expose fb when 32bpp") Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'doc/usage')
0 files changed, 0 insertions, 0 deletions