xf86-video-intel: src/drmmode_display.c
Keith Packard
keithp at kemper.freedesktop.org
Tue Jul 21 21:05:50 PDT 2009
src/drmmode_display.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 6f3fc6b20f3daedab02e31f49678d4d2ff0fa7a3
Author: Keith Packard <keithp at keithp.com>
Date: Tue Jul 21 12:32:10 2009 -0700
drmmode_output_get_modes: Replace existing EDID property blob with new one
This synchronizes the X EDID data with the kernel EDID data each time the
kernel data may have changed. Otherwise, X ends up stuck with the first EDID
data it sees, failing to accomodate to different monitors.
Signed-off-by: Keith Packard <keithp at keithp.com>
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index df10fb5..bb239ed 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -641,8 +641,7 @@ drmmode_output_get_modes(xf86OutputPtr output)
if (!props || !(props->flags & DRM_MODE_PROP_BLOB))
continue;
- if (!strcmp(props->name, "EDID") &&
- drmmode_output->edid_blob == NULL) {
+ if (!strcmp(props->name, "EDID")) {
drmModeFreePropertyBlob(drmmode_output->edid_blob);
drmmode_output->edid_blob =
drmModeGetPropertyBlob(drmmode->fd,
More information about the xorg-commit
mailing list