1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 10:55:43 +00:00

Fully enabled new logic

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2135 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2001-10-08 09:02:24 +00:00
parent 28dd88a64e
commit b53efbb220

View File

@ -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,