diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-06-04 20:32:55 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-06-04 20:32:55 -0400 |
commit | e6161e472ff266f69547704a61040228a8704b06 (patch) | |
tree | 01d7b85f8f306314151e45d88c6fe96b3d95d4e8 | |
parent | be0ce38232ea4f5679c5829ab663939144c6e617 (diff) |
RADEON: remove some cruft
-rw-r--r-- | src/radeon_output.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 8060b4c7..3e2881fd 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -891,7 +891,6 @@ static void RADEONInitDAC2Registers(xf86OutputPtr output, RADEONSavePtr save, RADEONInitTvDacCntl(pScrn, save); if (IsPrimary) { - /*save->crtc2_gen_cntl = info->SavedReg.crtc2_gen_cntl | RADEON_CRTC2_CRT2_ON;*/ save->dac2_cntl = info->SavedReg.dac2_cntl | RADEON_DAC2_DAC2_CLK_SEL; if (IS_R300_VARIANT) { save->disp_output_cntl = info->SavedReg.disp_output_cntl & @@ -901,10 +900,6 @@ static void RADEONInitDAC2Registers(xf86OutputPtr output, RADEONSavePtr save, save->fp2_gen_cntl = info->SavedReg.fp2_gen_cntl & ~(R200_FP2_SOURCE_SEL_MASK | RADEON_FP2_DVO_RATE_SEL_SDR); - /*save->fp2_gen_cntl = info->SavedReg.fp2_gen_cntl | - (RADEON_FP2_ON | - RADEON_FP2_BLANK_EN | - RADEON_FP2_DVO_EN);*/ } else { save->disp_hw_debug = info->SavedReg.disp_hw_debug | RADEON_CRT2_DISP1_SEL; } @@ -919,12 +914,7 @@ static void RADEONInitDAC2Registers(xf86OutputPtr output, RADEONSavePtr save, save->fp2_gen_cntl = info->SavedReg.fp2_gen_cntl & ~(R200_FP2_SOURCE_SEL_MASK | RADEON_FP2_DVO_RATE_SEL_SDR); - save->fp2_gen_cntl |= (R200_FP2_SOURCE_SEL_CRTC2 /*| - RADEON_FP2_BLANK_EN | - RADEON_FP2_ON | - RADEON_FP2_DVO_EN*/); - /*save->fp_h2_sync_strt_wid = save->crtc2_h_sync_strt_wid; - save->fp_v2_sync_strt_wid = save->crtc2_v_sync_strt_wid;*/ + save->fp2_gen_cntl |= R200_FP2_SOURCE_SEL_CRTC2; } else { save->dac2_cntl = info->SavedReg.dac2_cntl | RADEON_DAC2_DAC2_CLK_SEL; save->disp_hw_debug = info->SavedReg.disp_hw_debug & |