Support writing default/backup edid via /sys/class/graphics/fb?/edid
author Bernie Thompson
Thu, 08 Jul 2010 18:33:28 +0000 (11:33 -0700)
committer Bernie Thompson
Thu, 08 Jul 2010 18:33:28 +0000 (11:33 -0700)
commit eb76b04f0841e85d68f748511722e2a50dbda3ee
tree 6fd7dcd765d4ed2be0f9be9164898bd8d12e6006
parent 19c1b55350c12ccec776d8411f8a6456af8226ab
Support writing default/backup edid via /sys/class/graphics/fb?/edid
Required making udlfb much more flexible to let edid be dynamic
and changable, and then also to support changing/reallocating the
framebuffer size based on the (new) max mode supported by the monitor.
Writing a backup edid blob to the 'edid' file will cause udlfb to
attempt to re-read the edid from hardware.
If we still don't have a good edid, it will use the backup edid instead.
The intent is to 1) enable user-supplied edid
2) enable udev rules to backup the last known good edid
for a device, and then provide that edid as a backup for all future starts
udlfb.c
udlfb.h