]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/sysfb: efidrm: Add EDID support
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 1 Apr 2025 09:37:18 +0000 (11:37 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Apr 2025 09:02:07 +0000 (11:02 +0200)
commit305396ac7782c2f1aba407bab06e9da68588ffef
tree6ec72123a9692c305bf08e4b96793ea369c7b24c
parent32ae90c66fb62e4f6ae859422f733dfb249f10cf
drm/sysfb: efidrm: Add EDID support

Enable the connector's EDID property if edid_info contains valid
data. Exports the EDID via sysfs for user-space compositors.

EDID information is not always available. Depending on the system
and kernel configuration, it is either provided by the boot loader
or read by the kernel during early boot stages.

As of now, there's only one EFI display, so that EDID data always
belongs to this output. This might change if there's ever more than
one EFI display in the system.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250401094056.32904-16-tzimmermann@suse.de
drivers/gpu/drm/sysfb/efidrm.c