]> git.baikalelectronics.ru Git - kernel.git/commit
staging: udlfb: support for writing backup EDID to sysfs file
authorBernie Thompson <bernie@plugable.com>
Sun, 5 Sep 2010 23:35:31 +0000 (16:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 23:50:21 +0000 (16:50 -0700)
commita3834185c66c6b19dd84e7531a7b8e9ad9db035d
treea3ef0a17f95280e2ec63212d5dffe3deb2dd6ac1
parentabb1510c5fa1efc0443b24a96456a509af043f38
staging: udlfb: support for writing backup EDID to sysfs file

Support writing default/backup edid via /sys/class/graphics/fb?/edid

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

Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/udlfb/udlfb.c