diff options
author | Alex Deucher <alex@t41p.(none)> | 2006-10-15 16:49:24 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.(none)> | 2006-10-15 16:49:24 -0400 |
commit | 5425be996692425e57884e5a4c159fc79510e89f (patch) | |
tree | eae649586cc104af99e317e509a1d257dadf330f /src/radeon_display.c | |
parent | 457178f418983041ea59df703a17513a47d17044 (diff) |
clean up magic number
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r-- | src/radeon_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index 58282ef..23aea17 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; |