diff -u orig/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_dma.c dri_cvs_tree/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_dma.c --- orig/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_dma.c Fri Dec 13 03:45:31 2002 +++ dri_cvs_tree/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_dma.c Wed Dec 18 10:02:37 2002 @@ -741,6 +741,11 @@ pbox->y2 > dev_priv->h) continue; + BEGIN_LP_RING(2); + OUT_RING( CMD_OP_WAIT_FOR_EVENT | WAIT_FOR_VBLANK ); + OUT_RING( 0 ); + ADVANCE_LP_RING(); + BEGIN_LP_RING( 6 ); OUT_RING( BR00_BITBLT_CLIENT | BR00_OP_SRC_COPY_BLT | 0x4 ); OUT_RING( pitch | (0xCC << 16)); diff -u orig/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_drv.h dri_cvs_tree/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_drv.h --- orig/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_drv.h Wed Oct 23 09:38:53 2002 +++ dri_cvs_tree/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i810_drv.h Wed Dec 18 09:55:18 2002 @@ -142,11 +142,13 @@ #define CMD_REPORT_HEAD (7<<23) #define CMD_STORE_DWORD_IDX ((0x21<<23) | 0x1) #define CMD_OP_BATCH_BUFFER ((0x0<<29)|(0x30<<23)|0x1) +#define CMD_OP_WAIT_FOR_EVENT ((0x0<<29)|(0x03<<23)) #define INST_PARSER_CLIENT 0x00000000 #define INST_OP_FLUSH 0x02000000 #define INST_FLUSH_MAP_CACHE 0x00000001 +#define WAIT_FOR_VBLANK 0x8 #define BB1_START_ADDR_MASK (~0x7) #define BB1_PROTECTED (1<<0)