commit | 7812bbdc373236516b6efa13d879d35d43ca7d01 | [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 | be7418f35e80b3d836034a11866d47cdf3ba82ea [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>