summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 58282ef5..23aea172 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -641,7 +641,7 @@ static RADEONMonitorType RADEONDisplayDDCConnected(ScrnInfoPtr pScrn, RADEONDDCT
*/
if (port->TMDSType == TMDS_EXT) MonType = MT_DFP;
else {
- if ((INREG(RADEON_FP_GEN_CNTL) & (1<<7)) || !info->IsMobility)
+ if ((INREG(RADEON_FP_GEN_CNTL) & RADEON_FP_EN_TMDS) || !info->IsMobility)
MonType = MT_DFP;
else
MonType = MT_LCD;