summaryrefslogtreecommitdiff
path: root/src/i830_common.h
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-06-05 11:07:41 -0700
committerEric Anholt <eric@anholt.net>2007-06-05 11:34:22 -0700
commitf4c05973d391bdb0a9b0eadb155548310baa98fd (patch)
tree0e1f21768e1dfffdb0f06349780870c8df8ab563 /src/i830_common.h
parent36fcaeb2ef94db5399071540bba106dec3db81d5 (diff)
Add support for the G33, Q33, and Q35 chipsets.
These chipsets require that the hardware status page be referenced by an offset in the GTT rather than a physical memory address, so the X Server allocates it rather than the DRM.
Diffstat (limited to 'src/i830_common.h')
-rw-r--r--src/i830_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_common.h b/src/i830_common.h
index f853ccd8..5c2d919e 100644
--- a/src/i830_common.h
+++ b/src/i830_common.h
@@ -54,6 +54,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define DRM_I830_DESTROY_HEAP 0x0c
#define DRM_I830_SET_VBLANK_PIPE 0x0d
#define DRM_I830_GET_VBLANK_PIPE 0x0e
+#define DRM_I830_HWS_PAGE_ADDR 0x11
typedef struct {
@@ -224,4 +225,8 @@ typedef struct {
int pipe;
} drmI830VBlankPipe;
+typedef struct {
+ uint64_t addr;
+} drmI830HWS;
+
#endif /* _I830_DRM_H_ */