diff options
author | Thomas Reim <reimth@gmail.com> | 2011-07-29 14:28:58 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-08-04 14:39:50 +0100 |
commit | e384fab8c6f3ca88600bcb2ebdf0eb2f90864fab (patch) | |
tree | 10477faf78310c3fb3fd4bbb9a81df9215b487d9 /firmware | |
parent | 051963d4832ed61e5ae74f5330b0a94489e101b9 (diff) | |
download | talos-obmc-linux-e384fab8c6f3ca88600bcb2ebdf0eb2f90864fab.tar.gz talos-obmc-linux-e384fab8c6f3ca88600bcb2ebdf0eb2f90864fab.zip |
drm/radeon: Extended DDC Probing for Connectors with Improperly Wired DDC Lines (here: Asus M2A-VM HDMI)
Some integrated ATI Radeon chipset implementations with add-on HDMI card
(e. g. Asus M2A-VM HDMI) indicate the availability of a DDC even
when the add-on card is not plugged in or HDMI is disabled in BIOS setup.
In this case, drm_get_edid() and drm_edid_block_valid() periodically
dump data and kernel errors into system log files and onto terminals.
For these connectors DDC probing is extended by a check for a correct
EDID header. Only in case a valid EDID header is also found, the
(HDMI or DVI) connector will be used by the Radeon driver. This prevents
the kernel driver from useless flooding of logs and terminal sessions with
EDID dumps and error messages.
This patch adds a flag 'requires_extended_probe' to the radeon_connector
structure. In function radeon_connector_needs_extended_probe() this flag
can be set on a chipset family/vendor/connector type specific basis.
In addition, function radeon_ddc_probe() has been adapted to perform
extended DDC probing if required by the connector's flag.
Requires function drm_edid_header_is_valid() in DRM module provided by
[PATCH] drm: Separate EDID Header Check from EDID Block Check.
Tested for kernel 2.6.35, 2.6.38 and 3.0 on Asus M2A-VM HDMI board
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=668196
BugLink: http://bugs.launchpad.net/bugs/7228066
Cc: <stable@kernel.org>
Signed-off-by: Thomas Reim <reimth@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Acked-by: Stephen Michaels <Stephen.Micheals@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions