]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: pci: Set up the copy framebuffer
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:30 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commit0938767da1782d2c5c5d1f003b8835a59271b622
tree83cef18f07254ed897a3a9380b94afcd3992e0eb
parentf578ca799eec188fc96da3a1680c78c5f924b928
video: pci: Set up the copy framebuffer

When using a copy framebuffer we need to tell the video subsystem its
address. U-Boot's normally allocated framebuffer is used as the working
buffer, but nothing is displayed until it is copied to the copy
framebuffer.

For this to work the video driver must request that a framebuffer be
allocated separately from the hardware framebuffer, so add a check for
that.

Also add a log category so that logging appears correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_rom.c