mbox series

[0/2] x86/video: improve early video detection

Message ID 20240328153523.4155-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86/video: improve early video detection | expand

Message

Roger Pau Monné March 28, 2024, 3:35 p.m. UTC
Hello,

The current video logic reports wrong values when booted in PVH mode, as
that boot path explicitly skips real-mode logic, and thus avoids any VGA
video detection.

First patch is cleanup of the offset declarations in boot_video_info.
Second patch attempts to fix Xen in PVH mode reporting VGA support.

Roger Pau Monne (2):
  x86/video: add boot_video_info offset generation to asm-offsets
  x86/video: do not assume a video mode to be unconditionally present

 xen/arch/x86/boot/video.S         | 88 +++++++++++--------------------
 xen/arch/x86/x86_64/asm-offsets.c | 26 +++++++++
 2 files changed, 58 insertions(+), 56 deletions(-)