summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-06-06 11:01:48 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-06-06 11:01:48 +0800
commit404fd47573f855b0442d49a383542fc093825ad0 (patch)
tree56fea1df29cdebf3cc02f5bc0f4e285240b70240 /src/common.h
parentf4c05973d391bdb0a9b0eadb155548310baa98fd (diff)
Enable overlay on G33 class chipsets
Which have to use gfx vm offset fot setup overlay regs.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 2369a750..cc07e491 100644
--- a/src/common.h
+++ b/src/common.h
@@ -399,6 +399,8 @@ extern int I810_DEBUG;
#define IS_I9XX(pI810) (IS_I915G(pI810) || IS_I915GM(pI810) || IS_I945G(pI810) || IS_I945GM(pI810) || IS_I965G(pI810) || IS_G33CLASS(pI810))
#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_I965GM(pI810))
+/* mark chipsets for using gfx VM offset for overlay */
+#define OVERLAY_NOPHYSICAL(pI810) (IS_G33CLASS(pI810))
#define GTT_PAGE_SIZE KB(4)
#define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y))