diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-08 09:02:24 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-08 09:02:24 +0000 |
commit | b53efbb2200f7f075316335012c61ae9a46556ad (patch) | |
tree | 78d9878a4ad123022a31c376761b559d8a226932 | |
parent | 28dd88a64e0e5c08f5d6977d2fd52f5781516841 (diff) |
Fully enabled new logic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2135 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | drivers/radeon/radeonfb.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/radeon/radeonfb.c b/drivers/radeon/radeonfb.c index c8599c2298..c1b050dae0 100644 --- a/drivers/radeon/radeonfb.c +++ b/drivers/radeon/radeonfb.c @@ -2012,7 +2012,7 @@ static int radeon_init_dda_regs(struct radeonfb_info *rinfo, (useable_precision << 16) | (rinfo->ram.rloop << 20)); save->dda_on_off = (ron << 16) | roff; - return 0; + return 1; } /* @@ -2055,7 +2055,7 @@ RTRACE("radeonfb: radeon_init_mode is called\n"); prim_mon = PRIMARY_MONITOR(rinfo); if (((prim_mon == MT_DFP) || (prim_mon == MT_LCD))) { - radeon_init_fp_regs(rinfo, save, mode); +/* radeon_init_fp_regs(rinfo, save, mode);*/ } RTRACE("radeonfb: radeon_init_mode returns SUCCESS\n"); @@ -3142,7 +3142,7 @@ RTRACE("radeonfb: radeon_save_state is called\n"); static int radeon_load_video_mode (struct radeonfb_info *rinfo, struct fb_var_screeninfo *mode) { -/* + struct radeon_regs newmode; RTRACE("radeonfb: radeon_load_video_mode is called\n"); @@ -3152,16 +3152,6 @@ RTRACE("radeonfb: radeon_load_video_mode is called\n"); radeon_write_mode(rinfo, &newmode); radeonfb_blank(VESA_NO_BLANKING,&rinfo->info); return 0; -*/ - struct radeon_regs newmode; - -radeon_init_common_regs(rinfo,&newmode); -radeon_init_crtc_regs(rinfo,&newmode,mode); -radeon_init_pll_regs(rinfo,&newmode,mode); -radeon_init_dda_regs(rinfo,&newmode,mode); - /* do it! */ - radeon_write_mode (rinfo, &newmode); - return 0; } static void radeon_write_mode (struct radeonfb_info *rinfo, |