summaryrefslogtreecommitdiff
path: root/bsd/mga
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2002-03-06 19:31:39 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2002-03-06 19:31:39 +0000
commit5e734a7ac85f7bd8b333a28cf26745d1960a3a43 (patch)
tree7b4e035920d2762420b696c0f57a275a95c785f2 /bsd/mga
parent46cacdca855a99c1ffe0ccf7a7f88134bca9bade (diff)
i830 & mga contain minor changes from 4.2.0 for mesa 4.0 bsd merge
Diffstat (limited to 'bsd/mga')
-rw-r--r--bsd/mga/mga_state.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bsd/mga/mga_state.c b/bsd/mga/mga_state.c
index 320e2b3e..b71f333d 100644
--- a/bsd/mga/mga_state.c
+++ b/bsd/mga/mga_state.c
@@ -163,6 +163,9 @@ static __inline__ void mga_g400_emit_tex0( drm_mga_private_t *dev_priv )
drm_mga_texture_regs_t *tex = &sarea_priv->tex_state[0];
DMA_LOCALS;
+/* printk("mga_g400_emit_tex0 %x %x %x\n", tex->texorg, */
+/* tex->texctl, tex->texctl2); */
+
BEGIN_DMA( 6 );
DMA_BLOCK( MGA_TEXCTL2, tex->texctl2 | MGA_G400_TC2_MAGIC,
@@ -204,6 +207,9 @@ static __inline__ void mga_g400_emit_tex1( drm_mga_private_t *dev_priv )
drm_mga_texture_regs_t *tex = &sarea_priv->tex_state[1];
DMA_LOCALS;
+/* printk("mga_g400_emit_tex1 %x %x %x\n", tex->texorg, */
+/* tex->texctl, tex->texctl2); */
+
BEGIN_DMA( 5 );
DMA_BLOCK( MGA_TEXCTL2, (tex->texctl2 |
@@ -272,6 +278,8 @@ static __inline__ void mga_g400_emit_pipe( drm_mga_private_t *dev_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,