summaryrefslogtreecommitdiff
path: root/include/vbe.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-06 02:42:17 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2016-10-11 03:55:33 (GMT)
commitee87ee82e1c9052d59e44c5c29448f4545ab59e7 (patch)
tree66124a6284abe4f9ac73590eaf30bfb3a758ae49 /include/vbe.h
parentd8441ea27ed1253f17f05f30057853a95a28b4c7 (diff)
downloadu-boot-fsl-qoriq-ee87ee82e1c9052d59e44c5c29448f4545ab59e7.tar.xz
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>
Diffstat (limited to 'include/vbe.h')
-rw-r--r--include/vbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vbe.h b/include/vbe.h
index 164ccae..a743892 100644
--- a/include/vbe.h
+++ b/include/vbe.h
@@ -106,5 +106,7 @@ extern struct vbe_mode_info mode_info;
struct graphic_device;
int vbe_get_video_info(struct graphic_device *gdev);
+struct video_priv;
+int vbe_setup_video(struct udevice *dev, int (*int15_handler)(void));
#endif