]> git.baikalelectronics.ru Git - uboot.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)
commitab915fe4f849de624937479a3d29a8ec0d5301f4
tree83cef18f07254ed897a3a9380b94afcd3992e0eb
parente1fdbb6b06f8c282a4d648bd026638238424a2bd
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