diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-09-17 23:10:13 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-17 23:10:13 -0400 |
commit | 1fafa970fa78ddea29a8804b6cd0aea52e4fa2e1 (patch) | |
tree | 2f096aa7c66b5514036540e8c3ce2e875044899e | |
parent | 4000a710c93dd2d82891e4082bc7fa922ba9c5f4 (diff) |
RADEON: ignore edid digital bit on analog ports
Some monitors have this bit set even on analog ports
-rw-r--r-- | src/radeon_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 7d838edf..44bc0ef4 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -432,7 +432,8 @@ RADEONDisplayDDCConnected(ScrnInfoPtr pScrn, xf86OutputPtr output) } else if ((info->IsAtomBios && radeon_output->ConnectorType == CONNECTOR_DVI_D_ATOM) || (!info->IsAtomBios && radeon_output->ConnectorType == CONNECTOR_DVI_D)) { MonType = MT_DFP; - } else if ((*MonInfo)->rawData[0x14] & 0x80) { /* if it's digital */ + } else if (radeon_output->type == OUTPUT_DVI && + ((*MonInfo)->rawData[0x14] & 0x80)) { /* if it's digital and DVI */ MonType = MT_DFP; } else { MonType = MT_CRT; |