summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@benzylpiperazine.boston.devel.redhat.com>2009-03-06 17:53:59 -0500
committerroot <root@benzylpiperazine.boston.devel.redhat.com>2009-03-06 17:53:59 -0500
commitd1add18f3d238c755f9875b5e5c211e4af742482 (patch)
treee659518a4204276a1a7c0eeab4c0755e03188179
parent04481bf450650d1ea5aadabc9213b899b0fe8119 (diff)
output: Filter out dual-link modes from DP->DVI connections
There's not enough pins on a DP->DVI connector for this to possibly work.
-rw-r--r--src/radeon_output.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 68bea219..fcf22efd 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -403,6 +403,13 @@ radeon_mode_valid(xf86OutputPtr output, DisplayModePtr pMode)
}
}
+ if (radeon_output->ConnectorType == CONNECTOR_DISPLAY_PORT &&
+ radeon_output->MonType == MT_DFP) {
+ /* DP to DVI converter, single-link only */
+ if (pMode->Clock > 165000)
+ return MODE_CLOCK_HIGH;
+ }
+
if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) {
if (radeon_output->rmx_type == RMX_OFF) {
if (pMode->HDisplay != native_mode->PanelXRes ||