[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.38,1.39
Nick Kurshev
nick at mplayer.dev.hu
Mon Feb 25 09:13:09 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main adpcm.c,1.8,1.9 adpcm.h,1.6,1.7 dec_audio.c,1.82,1.83 codec-cfg.c,1.69,1.70 codec-cfg.h,1.42,1.43
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.415,1.416
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mplayer:/var/tmp.root/cvs-serv21699/main/vidix/drivers
Modified Files:
radeon_vid.c
Log Message:
Minor fixes and probably final fix of vsync
Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- radeon_vid.c 13 Feb 2002 08:24:13 -0000 1.38
+++ radeon_vid.c 25 Feb 2002 08:12:58 -0000 1.39
@@ -848,7 +848,7 @@
void vixDestroy( void )
{
unmap_phys_mem(radeon_mem_base,radeon_ram_size);
- unmap_phys_mem(radeon_mmio_base,0x7FFF);
+ unmap_phys_mem(radeon_mmio_base,0xFFFF);
}
int vixGetCapability(vidix_capability_t *to)
@@ -1306,19 +1306,18 @@
off[4] = besr.vid_buf4_base_adrs;
off[5] = besr.vid_buf5_base_adrs;
}
- radeon_wait_vsync();
- radeon_fifo_wait(2);
+ radeon_fifo_wait(8);
OUTREG(OV0_REG_LOAD_CNTL, REG_LD_CTL_LOCK);
radeon_engine_idle();
while(!(INREG(OV0_REG_LOAD_CNTL)®_LD_CTL_LOCK_READBACK));
OUTREG(OV0_VID_BUF0_BASE_ADRS, off[0]);
OUTREG(OV0_VID_BUF1_BASE_ADRS, off[1]);
OUTREG(OV0_VID_BUF2_BASE_ADRS, off[2]);
- radeon_fifo_wait(9);
OUTREG(OV0_VID_BUF3_BASE_ADRS, off[3]);
OUTREG(OV0_VID_BUF4_BASE_ADRS, off[4]);
OUTREG(OV0_VID_BUF5_BASE_ADRS, off[5]);
OUTREG(OV0_REG_LOAD_CNTL, 0);
+ radeon_wait_vsync();
if(__verbose > 1) radeon_vid_dump_regs();
return 0;
}
- Previous message: [Mplayer-cvslog] CVS: main adpcm.c,1.8,1.9 adpcm.h,1.6,1.7 dec_audio.c,1.82,1.83 codec-cfg.c,1.69,1.70 codec-cfg.h,1.42,1.43
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.415,1.416
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list