summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-11 10:09:29 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-11 10:09:29 +0800
commit56ae767180da4a8bd4b7a4c35b92e019ab67d753 (patch)
tree9b4d25540cfdaa901fbd056b1ab9435c9ed7a9e5
parent5faee02e97b7543b41bb1f8e3751558c48802833 (diff)
Revert "Fix G33 GTT stolen mem range"
This reverts commit 2a8592f2ebcba86b1127aa889155d58a3dc186ca. This causes compat issue between ddx and kernel apggart version. Revert it as it shouldn't hurt normal people's default GTT size, but if you change it to 1MB in bios, it's supposed to be broken now.
-rw-r--r--src/i830_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 0d55609f..ce84bce6 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -481,9 +481,6 @@ I830DetectMemory(ScrnInfoPtr pScrn)
range = gtt_size + 4;
if (IS_I85X(pI830) || IS_I865G(pI830) || IS_I9XX(pI830)) {
- /* G33 has seperate GTT stolen mem */
- if (IS_G33CLASS(pI830))
- range = 0;
switch (gmch_ctrl & I830_GMCH_GMS_MASK) {
case I855_GMCH_GMS_STOLEN_1M:
memsize = MB(1) - KB(range);