commit | 951255da85b21432777ce999321f4ac28e2c164a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 02 21:12:32 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Jul 09 12:33:24 2020 +0800 |
tree | 7012ed7f292b85a10ac8c16e550bc09da1a69471 | |
parent | 3ce7f2463139b321884139fa6fae1f0ed78b1d28 [diff] |
video: Correctly handle multiple framebuffers At present video_bottom is set to the bottom of each framebuffer when it is allocated. This is not correct, since it should hold the bottom of the entire area available for framebuffers. Fix this by adding a private address in the uclass which keeps track of the next available spot for a framebuffer. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anatolij Gustschin <agust@denx.de> Tested-by: Bin Meng <bmeng.cn@gmail.com>