commit | df865d3b15f953a872ff4875ff0b76eccd7a4e9e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Mar 10 12:47:17 2023 -0800 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Mar 13 13:53:01 2023 +0100 |
tree | 16268faa2699f1fe4db6fb818cb4436da2a9e3ee | |
parent | ce2ec8e9167edb0fefe8eae8e66bf753ebfc7558 [diff] |
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>