From: Alex Deucher Date: Wed, 23 Mar 2011 08:10:10 +0000 (+0000) Subject: drm/radeon/kms: fix hardcoded EDID handling X-Git-Tag: v2.6.37.6~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b752dd3db00682bbd33a886d5c62eb4db3bd0d3;p=pandora-kernel.git drm/radeon/kms: fix hardcoded EDID handling commit fafcf94e2b5732d1e13b440291c53115d2b172e9 upstream. On some servers there is a hardcoded EDID provided in the vbios so that the driver will always see a display connected even if something like a KVM prevents traditional means like DDC or load detection from working properly. Also most server boards with DVI are not actually DVI, but DVO connected to a virtual KVM service processor. If we fail to detect a monitor via DDC or load detection and a hardcoded EDID is available, use it. Additionally, when using the hardcoded EDID, use a copy of it rather than the actual one stored in the driver as the detect() and get_modes() functions may free it if DDC is successful. This fixes the virtual KVM on several internal servers. Signed-off-by: Alex Deucher Signed-off-by: Dave Airlie Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed