From: Thomas Zimmermann Date: Tue, 1 Apr 2025 09:37:20 +0000 (+0200) Subject: drm/sysfb: vesadrm: Add EDID support X-Git-Tag: v6.16-rc1~144^2~21^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d0de9e8b7087745e63eef7bee298e103da4f590;p=thirdparty%2Flinux.git drm/sysfb: vesadrm: 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. There's only one VESA display, so EDID data always belongs to this output. Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Canillas Link: https://lore.kernel.org/r/20250401094056.32904-18-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/sysfb/vesadrm.c b/drivers/gpu/drm/sysfb/vesadrm.c index 8a963057ffec9..07f59880ce0f9 100644 --- a/drivers/gpu/drm/sysfb/vesadrm.c +++ b/drivers/gpu/drm/sysfb/vesadrm.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -22,6 +23,7 @@ #include #include +#include