diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-12 11:55:41 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-12 11:55:41 +0100 |
commit | 70c2e55854116bee937026175e54985a73f159fa (patch) | |
tree | a21ee41c7aaef33c3812ccf2058688162dffd01f /xen/drivers/video | |
parent | 60dc4142c6d4bebbd7f4ecdc0bb56b2f976cad27 (diff) | |
download | xen-70c2e55854116bee937026175e54985a73f159fa.tar.gz xen-70c2e55854116bee937026175e54985a73f159fa.tar.bz2 xen-70c2e55854116bee937026175e54985a73f159fa.zip |
x86: propagate VESA capabilities to dom0
Linux has been using the VESA capabilities field for quite a while, so
Xen should also supply it. At once, in case needed in the future, also
propagate the mode attributes field.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r-- | xen/drivers/video/vesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/video/vesa.c b/xen/drivers/video/vesa.c index 8f5b5c690b..04064f786d 100644 --- a/xen/drivers/video/vesa.c +++ b/xen/drivers/video/vesa.c @@ -46,7 +46,7 @@ void __init vesa_early_init(void) { unsigned int vram_vmode; - /* XXX vga_compat = !(boot_video_info.capabilities & 2); */ + vga_compat = !(vesa_lfb_info.capabilities & 2); if ( (vlfb_info.bits_per_pixel < 8) || (vlfb_info.bits_per_pixel > 32) ) return; |