]> git.baikalelectronics.ru Git - uboot.git/commit
video: Allow a copy framebuffer with pre-allocated fb
authorSimon Glass <sjg@chromium.org>
Fri, 10 Mar 2023 20:47:17 +0000 (12:47 -0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 13 Mar 2023 12:53:01 +0000 (13:53 +0100)
commit9f322f6d8af16b63b92e0eae3d3ed35f156e2fd5
tree16268faa2699f1fe4db6fb818cb4436da2a9e3ee
parent68cf7ec49188058d822a17c655a971b6777086aa
video: Allow a copy framebuffer with pre-allocated fb

At present it is not possible for the video driver to use a pre-allocated
frame buffer (such as is done with EFI) with the copy framebuffer. This
can be useful to speed up the display.

Adjust the implementation so that copy_size can be set to the required
size, with this being allocated if the normal framebuffer size is 0.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c
include/video.h