summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-06-19 09:33:50 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-06-19 09:36:35 +0800
commit3bbf313ba541526a893915f8b6c64b1eccf325e0 (patch)
tree104e310a5e6b67b7d55de7896e89e9625d9c46cd /src/i830_memory.c
parentacef342c870f3b5b781e48c8bf44739aa5ee8ffa (diff)
Fix left G33 issues
Be sure to check G33 chip type in: - sdvo output - Y-major tile - crt detect - and xaa composite Sorry for that I should have fixed them very earlier...
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 17d4c4ef..afdd93d7 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -790,7 +790,7 @@ IsTileable(ScrnInfoPtr pScrn, int pitch)
switch (pitch) {
case 128:
case 256:
- if (IS_I945G(pI830) || IS_I945GM(pI830))
+ if (IS_I945G(pI830) || IS_I945GM(pI830) || IS_G33CLASS(pI830))
return TRUE;
else
return FALSE;
@@ -1528,7 +1528,8 @@ i830_set_fence(ScrnInfoPtr pScrn, int nr, unsigned int offset,
}
}
- if ((IS_I945G(pI830) || IS_I945GM(pI830)) && tile_format == TILING_YMAJOR)
+ if ((IS_I945G(pI830) || IS_I945GM(pI830) || IS_G33CLASS(pI830))
+ && tile_format == TILING_YMAJOR)
fence_pitch = pitch / 128;
else if (IS_I9XX(pI830))
fence_pitch = pitch / 512;