summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-09-25 11:25:03 +1000
committerDave Airlie <airlied@linux.ie>2006-09-25 11:25:03 +1000
commitad8259c814629e741ed5567923f40879cc0c7051 (patch)
treed6bb7fb907e28e1c37dd4646f286ddfde7905aae
parent980fb2f6bd7641c8c57769b0c67e3561903e89a9 (diff)
radeon : add back tv-dac register write
-rw-r--r--src/radeon_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index a29db87c..08f9b79e 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5292,10 +5292,10 @@ static void RADEONRestoreCrtc2Registers(ScrnInfoPtr pScrn,
OUTREG(RADEON_DAC_CNTL2, restore->dac2_cntl);
- OUTREG(RADEON_TV_DAC_CNTL, 0x00280203);
- //if ((info->ChipFamily != CHIP_FAMILY_RADEON) &&
- // (info->ChipFamily != CHIP_FAMILY_R200))
- //OUTREG (RADEON_TV_DAC_CNTL, restore->tv_dac_cntl);
+ //OUTREG(RADEON_TV_DAC_CNTL, 0x00280203);
+ if ((info->ChipFamily != CHIP_FAMILY_RADEON) &&
+ (info->ChipFamily != CHIP_FAMILY_R200))
+ OUTREG (RADEON_TV_DAC_CNTL, restore->tv_dac_cntl);
if ((info->ChipFamily == CHIP_FAMILY_R200) ||
IS_R300_VARIANT) {