linux/drivers/gpu/drm/sysfb
Thomas Zimmermann e7f435b3dc drm/sysfb: ofdrm: Add EDID support
Add EDID support to sysfb connector helpers. Read the EDID property
from the OF node in ofdrm. Without EDID, this does nothing.

Some systems with OF display, such as 32-bit PPC Macintoshs, provide
the system display's EDID data as node property in their DT. Exporting
this information allows compositors to implement correct DPI and
meaningful color management.

v3:
- avoid parser error by clearing EDID extension field
v2:
- return errno codes on errors (Jani)
- simplify EDID read logic (Jani)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250401094056.32904-13-tzimmermann@suse.de
2025-04-07 11:02:07 +02:00
..
drm_sysfb_helper.c drm/sysfb: ofdrm: Add EDID support 2025-04-07 11:02:07 +02:00
drm_sysfb_helper.h drm/sysfb: ofdrm: Add EDID support 2025-04-07 11:02:07 +02:00
Kconfig
Makefile
ofdrm.c drm/sysfb: ofdrm: Add EDID support 2025-04-07 11:02:07 +02:00
simpledrm.c drm/sysfb: Merge primary-plane functions 2025-04-07 11:02:07 +02:00