From: jsg Date: Sat, 3 May 2014 05:26:47 +0000 (+0000) Subject: drm/radeon: call drm_edid_to_eld when we update the edid X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0f13ec920b8eab2fad0f517b807dc4b266714eb0;p=openbsd drm/radeon: call drm_edid_to_eld when we update the edid From Alex Deucher 7752811a7d6be680e8f1a87da18e3670633981ee in ubuntu 3.8 16086279353cbfecbb3ead474072dced17b97ddc in mainline linux --- 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);