From 4f8fa6028631fa1d799e9a68ed710fbc98976656 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Sat, 27 Nov 2004 22:55:31 +0000 Subject: Reworked PCI MMIO command buffer parser, and imported code from the Mesa driver. It can now handle the 3D OpenGL commands from the Mesa unichrome driver. Added vsync frequency detection support. This will be used in the future for XvMC and better frame timing. Bumped minor version number and driver date. --- shared/via_3d_reg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared/via_3d_reg.h') diff --git a/shared/via_3d_reg.h b/shared/via_3d_reg.h index 38ab25bc..90010cdc 100644 --- a/shared/via_3d_reg.h +++ b/shared/via_3d_reg.h @@ -26,6 +26,8 @@ #define VIA_3D_REG_H #define HC_REG_BASE 0x0400 +#define HC_REG_TRANS_SPACE 0x0040 + #define HC_ParaN_MASK 0xffffffff #define HC_Para_MASK 0x00ffffff #define HC_SubA_MASK 0xff000000 @@ -1621,7 +1623,7 @@ #define HALCYON_CMDB 0XEC000000 #define HALCYON_CMDBMASK 0XFFFE0000 #define HALCYON_SUB_ADDR0 0X00000000 -#define HALCYON_HEADER1MASK 0XFFFFFF00 +#define HALCYON_HEADER1MASK 0XFFFFFC00 #define HALCYON_HEADER1 0XF0000000 #define HC_SubA_HAGPBstL 0x0060 #define HC_SubA_HAGPBendL 0x0061 -- cgit v1.2.3