summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2005-01-30 22:26:26 +0000
committerAlex Deucher <agd5f@yahoo.com>2005-01-30 22:26:26 +0000
commit7712602bccc71210ad4319aaf2bc8e1b15b6a01a (patch)
tree2573fc872b6d31916033b68cdc1375304591a02f /src
parent565d77fe6e5d5357a04ac5612a1d25aa1194cad9 (diff)
- update comment about tiled surface regs for savage3d
Diffstat (limited to 'src')
-rw-r--r--src/savage_accel.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/savage_accel.c b/src/savage_accel.c
index 251076f..d7fdd3d 100644
--- a/src/savage_accel.c
+++ b/src/savage_accel.c
@@ -743,13 +743,14 @@ void SavageSetGBD_3D(ScrnInfoPtr pScrn)
OUTREG32(ADVANCED_FUNC_CTRL,ulTmp);
/*
- * Set up Tiled Surface Registers
- * Bit 25:20 - Surface width in tiles.
- * Bit 29 - Y Range Flag.
- * Bit 31:30 = 00, 4 bpp.
- * = 01, 8 bpp.
- * = 10, 16 bpp.
- * = 11, 32 bpp.
+ * Tiled Surface 0 Registers MM48C40:
+ * bit 0~23: tile surface 0 frame buffer offset
+ * bit 24~29:tile surface 0 width
+ * bit 30~31:tile surface 0 bits/pixel
+ * 00: reserved
+ * 01, 8 bits
+ * 10, 16 Bits.
+ * 11, 32 Bits.
*/
/*
* Global Bitmap Descriptor Register MM816C