diff options
author | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-07-05 12:21:06 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-07-05 12:21:06 -0700 |
commit | 8919b2292147add41a1c1c6e5e673257cb6c6c6e (patch) | |
tree | c8a0a02cd5a19d2a2545519ed399506888eb3a93 | |
parent | 407b124af8f7bb42abe4eecc87476c4c3e555cd0 (diff) |
Re-add tiling kludge, but only for 965.
-rw-r--r-- | src/i830_memory.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index 904476a0..71346004 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1450,6 +1450,11 @@ i830_set_fence(ScrnInfoPtr pScrn, int nr, unsigned int offset, assert(tile_format != TILING_NONE); if (IS_I965G(pI830)) { + if (tile_format == TILING_XMAJOR) + pitch = 512; + else + pitch = 128; + if (nr < 0 || nr >= FENCE_NEW_NR) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "i830_set_fence(): fence %d out of range\n",nr); |