On Tue, Sep 16, 2025 at 9:50 AM Thomas Zimmermann <[email protected]> wrote:
>
> The Linux kernel's struct bootparams provides a field at offset 0x140
> for storing an EDID header. Copy the video adapter's data to the field.
>
> The edid_info field was added in 2003 (see "[FBDEV] EDID support from
> OpenFirmware on PPC platoforms and from the BIOS on intel platforms."),
> but only got useable in 2004 (see "[PATCH] Fix EDID_INFO in zero-page").
> The boot protocol was at version 2.03 at that time.
>
> The field was never used much, but with the recent addition of the efidrm
> and vesadrm drivers to the kernel, it becomes much more useful. As with
> the initial screen setup, these drivers can make use of the provided
> EDID information for basic display output.
>
> Signed-off-by: Thomas Zimmermann <[email protected]>
> ---
>  grub-core/loader/i386/linux.c | 16 ++++++++++++++++
>  grub-core/video/video.c       | 21 +++++++++++++++++++++
>  include/grub/video.h          |  2 ++
>  3 files changed, 39 insertions(+)
>

This patch seems reasonable to me.

Reviewed-by: Neal Gompa <[email protected]>



-- 
真実はいつも一つ!/ Always, there's only one truth!

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to