diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-05-25 19:26:24 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-05-25 19:26:24 -0400 |
commit | e3e9c608651e7cbb9851489274815f47d2a8dbbb (patch) | |
tree | 0c5905bedd3a970425385ce51becec5c872fad18 | |
parent | a7d2c9c0f6155c4e65a2e73f3832c0d8ca7af5fc (diff) |
RADEON: more clean of last commits
-rw-r--r-- | src/radeon_output.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 0577a05..4e2fa0c 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -192,12 +192,14 @@ static RADEONMonitorType RADEONPortCheckNonDDC(ScrnInfoPtr pScrn, xf86OutputPtr if (radeon_output->type == OUTPUT_LVDS) { if (INREG(RADEON_BIOS_4_SCRATCH) & 4) MonType = MT_LCD; - } else if (radeon_output->TMDSType == TMDS_INT) { - if (INREG(RADEON_FP_GEN_CNTL) & RADEON_FP_DETECT_SENSE) - MonType = MT_DFP; - } else if (radeon_output->TMDSType == TMDS_EXT) { - if (INREG(RADEON_FP2_GEN_CNTL) & RADEON_FP2_DETECT_SENSE) - MonType = MT_DFP; + } else if (radeon_output->type == OUTPUT_DVI) { + if (radeon_output->TMDSType == TMDS_INT) { + if (INREG(RADEON_FP_GEN_CNTL) & RADEON_FP_DETECT_SENSE) + MonType = MT_DFP; + } else if (radeon_output->TMDSType == TMDS_EXT) { + if (INREG(RADEON_FP2_GEN_CNTL) & RADEON_FP2_DETECT_SENSE) + MonType = MT_DFP; + } } xf86DrvMsg(pScrn->scrnIndex, X_INFO, |