aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2010-07-29 16:36:31 +0100
committerJohn Rigby <john.rigby@linaro.org>2012-08-15 23:45:53 -0600
commit7a74917835b6995217c1ee96331ae87921f63e49 (patch)
treeae64647ead46d854bc11409f5d5e06f3a12c5efe /include/linux
parent65421493f43d9437d6037be892f35464b52e4c63 (diff)
UBUNTU: SAUCE: vt -- allow grub to request automatic vt_handoff
Grub may be able to select a graphics mode and paint a splash screen for us. If so it needs to be able to tell us it has done so. Add support for detecting a new graphics mode selected bit in the screen_info passed over at boot. Use this to automatically enable vt_handoff mode. Signed-off-by: Andy Whitcroft <apw@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/screen_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/screen_info.h b/include/linux/screen_info.h
index 899fbb487c9..e699dd416f9 100644
--- a/include/linux/screen_info.h
+++ b/include/linux/screen_info.h
@@ -67,6 +67,7 @@ struct screen_info {
#define VIDEO_TYPE_EFI 0x70 /* EFI graphic mode */
#define VIDEO_FLAGS_NOCURSOR (1 << 0) /* The video mode has no cursor set */
+#define VIDEO_FLAGS_HANDOFF (1 << 1) /* Video buffer is alredy painted */
#ifdef __KERNEL__
extern struct screen_info screen_info;