summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-05-03 05:26:47 +0000
committerjsg <jsg@openbsd.org>2014-05-03 05:26:47 +0000
commit0f13ec920b8eab2fad0f517b807dc4b266714eb0 (patch)
treeba8042f08fc08725c80302779321aab023adb2f8
parentSkip intel_crt_init for Dell XPS 8700 (diff)
downloadwireguard-openbsd-0f13ec920b8eab2fad0f517b807dc4b266714eb0.tar.xz
wireguard-openbsd-0f13ec920b8eab2fad0f517b807dc4b266714eb0.zip
drm/radeon: call drm_edid_to_eld when we update the edid
From Alex Deucher 7752811a7d6be680e8f1a87da18e3670633981ee in ubuntu 3.8 16086279353cbfecbb3ead474072dced17b97ddc in mainline linux
-rw-r--r--sys/dev/pci/drm/radeon/radeon_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_display.c b/sys/dev/pci/drm/radeon/radeon_display.c
index 3b3f6e0d483..67fbfbf4200 100644
--- a/sys/dev/pci/drm/radeon/radeon_display.c
+++ b/sys/dev/pci/drm/radeon/radeon_display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_display.c,v 1.6 2014/02/09 11:03:31 jsg Exp $ */
+/* $OpenBSD: radeon_display.c,v 1.7 2014/05/03 05:26:47 jsg Exp $ */
/*
* Copyright 2007-8 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
@@ -743,6 +743,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
if (radeon_connector->edid) {
drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
+ drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid);
return ret;
}
drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);