summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-18 00:12:03 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-18 00:12:03 -0400
commitf71bfde7352ef858c1041037d7dc77c237e315a4 (patch)
treecd054b2010839ececabc81ae49593c24fb593de3 /src/radeon_driver.c
parentf711e266d6927dec648f6ff26f15c6f48643f78c (diff)
RADEON: more cleanup
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index b2d28a5..91bb7b1 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5458,19 +5458,6 @@ Bool RADEONInitCrtcRegisters(xf86CrtcPtr crtc, RADEONSavePtr save,
save->fp_crtc_h_total_disp = save->crtc_h_total_disp;
save->fp_crtc_v_total_disp = save->crtc_v_total_disp;
-#if 0
- /* Set following registers for all cases first, if a DFP/LCD is connected on
- internal TMDS/LVDS port, they will be set by RADEONInitFPRegister
- */
- if (!info->IsSwitching) {
- save->fp_gen_cntl = 0;
- save->fp_vert_stretch = info->SavedReg.fp_vert_stretch &
- RADEON_VERT_STRETCH_RESERVED;
- save->fp_horz_stretch = info->SavedReg.fp_horz_stretch &
- (RADEON_HORZ_FP_LOOP_STRETCH |
- RADEON_HORZ_AUTO_RATIO_INC);
- }
-#endif
/* get the output connected to this CRTC */
for (i = 0; i < xf86_config->num_output; i++) {