]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: video: Add driver-model support to vesa graphics
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2016 02:42:17 +0000 (20:42 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commitee87ee82e1c9052d59e44c5c29448f4545ab59e7
tree66124a6284abe4f9ac73590eaf30bfb3a758ae49
parentd8441ea27ed1253f17f05f30057853a95a28b4c7
dm: video: Add driver-model support to vesa graphics

Provide a function to run the Vesa BIOS for a given PCI device and obtain
the resulting configuration (e.g. display size) for use by the video
uclass. This makes it easier to write a video driver that uses vesa and
supports driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_rom.c
include/vbe.h