mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
xen/vga: add the xen EFI video mode support
In order to add xen EFI frambebuffer video support, it is required to add xen-efi's new video type (XEN_VGATYPE_EFI_LFB) case and handle it in the function xen_init_vga and set the video type to VIDEO_TYPE_EFI to enable efi video mode. The original patch from which this was broken out from: http://marc.info/[email protected] Signed-off-by: Jan Beulich <[email protected]> Signed-off-by: Tang Liang <[email protected]> [v2: The original author is Jan Beulich and Liang Tang ported it to upstream] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
parent
ffb8b233c2
commit
aa387d630c
2 changed files with 8 additions and 0 deletions
|
|
@ -454,6 +454,7 @@ struct dom0_vga_console_info {
|
|||
uint8_t video_type;
|
||||
#define XEN_VGATYPE_TEXT_MODE_3 0x03
|
||||
#define XEN_VGATYPE_VESA_LFB 0x23
|
||||
#define XEN_VGATYPE_EFI_LFB 0x70
|
||||
|
||||
union {
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue