DMA_BLOCK( MGA_DMAPAD,	0xffffffff, MGA_DMAPAD,	0xffffffff, MGA_DMAPAD,	0xffffffff, MGA_WIADDR2,	(dev_priv->warp_pipe_phys[pipe] | MGA_WMODE_START | MGA_WAGP_ENABLE) ); 
DMA_BLOCK(MGA_DMAPAD, 0xffffffff, MGA_DMAPAD, 0xffffffff, MGA_DMAPAD, 0xffffffff, MGA_WIADDR2, (dev_priv->warp_pipe_phys[pipe] | MGA_WMODE_START | dev_priv->wagp_enable)); 
static __inline__ void mga_g400_emit_pipe( drm_mga_private_t *dev_priv ){	drm_mga_sarea_t *sarea_priv = dev_priv->sarea_priv;	unsigned int pipe = sarea_priv->warp_pipe;	DMA_LOCALS;/*  	printk("mga_g400_emit_pipe %x\n", pipe); */	BEGIN_DMA( 10 );	DMA_BLOCK( MGA_WIADDR2,	MGA_WMODE_SUSPEND,		   MGA_DMAPAD,	0x00000000,		   MGA_DMAPAD,	0x00000000,		   MGA_DMAPAD,	0x00000000 );	if ( pipe & MGA_T2 ) {		DMA_BLOCK( MGA_WVRTXSZ,		0x00001e09,			   MGA_DMAPAD,		0x00000000,			   MGA_DMAPAD,		0x00000000,			   MGA_DMAPAD,		0x00000000 );		DMA_BLOCK( MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x1e000000 );	} else {		if ( dev_priv->warp_pipe & MGA_T2 ) {			/* Flush the WARP pipe */			DMA_BLOCK( MGA_YDST,		0x00000000,				   MGA_FXLEFT,		0x00000000,				   MGA_FXRIGHT,		0x00000001,				   MGA_DWGCTL,		MGA_DWGCTL_FLUSH );			DMA_BLOCK( MGA_LEN + MGA_EXEC,	0x00000001,				   MGA_DWGSYNC,		0x00007000,				   MGA_TEXCTL2,		MGA_G400_TC2_MAGIC,				   MGA_LEN + MGA_EXEC,	0x00000000 );			DMA_BLOCK( MGA_TEXCTL2,		(MGA_DUALTEX |							 MGA_G400_TC2_MAGIC),				   MGA_LEN + MGA_EXEC,	0x00000000,				   MGA_TEXCTL2,		MGA_G400_TC2_MAGIC,				   MGA_DMAPAD,		0x00000000 );		}		DMA_BLOCK( MGA_WVRTXSZ,		0x00001807,			   MGA_DMAPAD,		0x00000000,			   MGA_DMAPAD,		0x00000000,			   MGA_DMAPAD,		0x00000000 );		DMA_BLOCK( MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x00000000,			   MGA_WACCEPTSEQ,	0x18000000 );	}	DMA_BLOCK( MGA_WFLAG,	0x00000000,		   MGA_WFLAG1,	0x00000000,		   MGA_WR56,	MGA_G400_WR56_MAGIC,		   MGA_DMAPAD,	0x00000000 );	DMA_BLOCK( MGA_WR49,	0x00000000,		/* tex0              */		   MGA_WR57,	0x00000000,		/* tex0              */		   MGA_WR53,	0x00000000,		/* tex1              */		   MGA_WR61,	0x00000000 );		/* tex1              */	DMA_BLOCK( MGA_WR54,	MGA_G400_WR_MAGIC,	/* tex0 width        */		   MGA_WR62,	MGA_G400_WR_MAGIC,	/* tex0 height       */		   MGA_WR52,	MGA_G400_WR_MAGIC,	/* tex1 width        */		   MGA_WR60,	MGA_G400_WR_MAGIC );	/* tex1 height       */	/* Padding required to to hardware bug */	DMA_BLOCK( MGA_DMAPAD,	0xffffffff,		   MGA_DMAPAD,	0xffffffff,		   MGA_DMAPAD,	0xffffffff,		   MGA_WIADDR2,	(dev_priv->warp_pipe_phys[pipe] |				 MGA_WMODE_START |				 MGA_WAGP_ENABLE) );	ADVANCE_DMA();}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6795c985a648d1e90b367cc1387c18205ecca4b8/mga_state.c/clean/drivers/char/drm/mga_state.c