summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.(none)>2006-10-15 16:49:24 -0400
committerAlex Deucher <alex@t41p.(none)>2006-10-15 16:49:24 -0400
commit5425be996692425e57884e5a4c159fc79510e89f (patch)
treeeae649586cc104af99e317e509a1d257dadf330f
parent457178f418983041ea59df703a17513a47d17044 (diff)
clean up magic number
-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;