diff options
author | Dave Airlie <airlied@linux.ie> | 2011-06-14 10:13:55 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-16 10:30:54 +0400 |
commit | 4a9a8b71e12d41abb71c4e741bff524f016cfef4 (patch) | |
tree | e5b3589c7568897a2184646665ca2f67257b62a5 /include/drm | |
parent | f49dadb82dde88092827b6d058e7164e75e96759 (diff) | |
download | linux-4a9a8b71e12d41abb71c4e741bff524f016cfef4.tar.xz |
drm/radeon: workaround a hw bug on some radeon chipsets with all-0 EDIDs.
Some RS690 chipsets seem to end up with floating connectors, either
a DVI connector isn't actually populated, or an add-in HDMI card
is available but not installed. In this case we seem to get a NULL byte
response for each byte of the i2c transaction, so we detect this
case and if we see it we don't do anymore DDC transactions on this
connector.
I've tested this on my RS690 without the HDMI card installed and
it seems to work fine.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 9573e0ce3120..33d12f87f0e0 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -520,6 +520,8 @@ struct drm_connector { uint32_t encoder_ids[DRM_CONNECTOR_MAX_ENCODER]; uint32_t force_encoder_id; struct drm_encoder *encoder; /* currently active encoder */ + + int null_edid_counter; /* needed to workaround some HW bugs where we get all 0s */ }; /** |