drm/radeon/kms: refine TMDS dual link checks
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Jan 2012 20:03:30 +0000 (15:03 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Jan 2012 17:35:52 +0000 (17:35 +0000)
commit9aa59993e226af94088adaee993eb8cfd33ae295
treec779fd613a1ce2adbf2b6fa7350a8fdb5ffe76a7
parent27d9cc8428367e0fec2fc0fc6385e9241b079c3a
drm/radeon/kms: refine TMDS dual link checks

HDMI 1.3 defines single link clocks up to 340 Mhz.
Refine the current dual link checks to only enable
dual link for DVI > 165 Mhz or HDMI > 340 Mhz if the
hw supports HDMI 1.3 (DCE3+).

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=44755

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_mode.h