Skip to content
Commit 7812bbdc authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAnatolij Gustschin <agust@denx.de>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent be7418f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment