diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-09-20 23:49:57 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-20 23:49:57 -0400 |
commit | c72a365386e19f9257db041d44b09ad499cc9f6a (patch) | |
tree | 85c21c996d0ccd627178952b68d51b8219e9844d /src/radeon_display.c | |
parent | 5e4d98470b6412a686883c554e7eb7badbe78c4d (diff) |
RADEON: fix up dvo support (still no external chip init)
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r-- | src/radeon_display.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index fa80e104..7f599e69 100644 --- a/src/radeon_display.c +++ b/src/radeon_display.c @@ -289,6 +289,7 @@ void RADEONDisableDisplays(ScrnInfoPtr pScrn) { /* FP 2 */ tmp = INREG(RADEON_FP2_GEN_CNTL); + tmp |= RADEON_FP2_BLANK_EN; tmp &= ~(RADEON_FP2_ON | RADEON_FP2_DVO_EN); OUTREG(RADEON_FP2_GEN_CNTL, tmp); @@ -355,10 +356,12 @@ void RADEONEnableDisplay(xf86OutputPtr output, BOOL bEnable) save->fp_gen_cntl |= (RADEON_FP_FPON | RADEON_FP_TMDS_EN); } else if (radeon_output->TMDSType == TMDS_EXT) { tmp = INREG(RADEON_FP2_GEN_CNTL); + tmp &= ~RADEON_FP2_BLANK_EN; tmp |= (RADEON_FP2_ON | RADEON_FP2_DVO_EN); OUTREG(RADEON_FP2_GEN_CNTL, tmp); save->fp2_gen_cntl |= (RADEON_FP2_ON | RADEON_FP2_DVO_EN); - } + save->fp2_gen_cntl &= ~RADEON_FP2_BLANK_EN; + } } else if (radeon_output->MonType == MT_LCD) { tmp = INREG(RADEON_LVDS_GEN_CNTL); tmp |= (RADEON_LVDS_ON | RADEON_LVDS_BLON); @@ -406,9 +409,11 @@ void RADEONEnableDisplay(xf86OutputPtr output, BOOL bEnable) save->fp_gen_cntl &= ~(RADEON_FP_FPON | RADEON_FP_TMDS_EN); } else if (radeon_output->TMDSType == TMDS_EXT) { tmp = INREG(RADEON_FP2_GEN_CNTL); + tmp |= RADEON_FP2_BLANK_EN; tmp &= ~(RADEON_FP2_ON | RADEON_FP2_DVO_EN); OUTREG(RADEON_FP2_GEN_CNTL, tmp); save->fp2_gen_cntl &= ~(RADEON_FP2_ON | RADEON_FP2_DVO_EN); + save->fp2_gen_cntl |= RADEON_FP2_BLANK_EN; } } else if (radeon_output->MonType == MT_LCD) { unsigned long tmpPixclksCntl = INPLL(pScrn, RADEON_PIXCLKS_CNTL); |