Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

efi/libstub: x86: Store EDID in boot_params

Retrieve the GOP device's EDID information in the kernel's boot
parameters. Makes the data avaialble to kernel graphics code and
drives, such as efidrm.

With efidrm, the EDID is now also available to user-space compositors
via standard DRM interfaces.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by

Thomas Zimmermann and committed by
Ard Biesheuvel
e41ef37d 17029cdd

+2 -1
+2 -1
drivers/firmware/efi/libstub/x86-stub.c
··· 487 487 static void setup_graphics(struct boot_params *boot_params) 488 488 { 489 489 struct screen_info *si = memset(&boot_params->screen_info, 0, sizeof(*si)); 490 + struct edid_info *edid = memset(&boot_params->edid_info, 0, sizeof(*edid)); 490 491 491 - efi_setup_graphics(si, NULL); 492 + efi_setup_graphics(si, edid); 492 493 } 493 494 494 495 static void __noreturn efi_exit(efi_handle_t handle, efi_status_t status)