From 0f13ec920b8eab2fad0f517b807dc4b266714eb0 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 3 May 2014 05:26:47 +0000 Subject: [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid From Alex Deucher 7752811a7d6be680e8f1a87da18e3670633981ee in ubuntu 3.8 16086279353cbfecbb3ead474072dced17b97ddc in mainline linux --- sys/dev/pci/drm/radeon/radeon_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1