diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-23 15:16:51 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-02-23 15:16:51 -0500 |
commit | 73bc7f113969834d00cd92be8374dbadc62f96a9 (patch) | |
tree | 4f22124a82705d5c001efc2d4c99ff5df3153d58 /src | |
parent | ef952760551ad15cb9f63025d1e087645949a227 (diff) |
KMS: Fix bug that prevented EDID data from getting propagated.
Diffstat (limited to 'src')
-rw-r--r-- | src/drmmode_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 0ae7d342..f0e4f1e0 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -460,7 +460,8 @@ drmmode_output_get_modes(xf86OutputPtr output) if (!props || !(props->flags & DRM_MODE_PROP_BLOB)) continue; - if (!strcmp(props->name, "EDID") && drmmode_output->edid_blob) { + if (!strcmp(props->name, "EDID") && + drmmode_output->edid_blob == NULL) { drmModeFreePropertyBlob(drmmode_output->edid_blob); drmmode_output->edid_blob = drmModeGetPropertyBlob(drmmode->fd, |