i915: Don't do the pitch expansion for tiled buffers.
authorEric Anholt <eric@anholt.net>
Tue, 2 Mar 2010 23:28:36 +0000 (15:28 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 3 Mar 2010 19:33:37 +0000 (11:33 -0800)
commit07439cf61717a3bde82745aa2acc878d7fd0133f
treeeaca9ba54e1a4465c0d2685a74ed18c61180e1e0
parent55e90e46e0f4f3f8b5da334d84fefb65b9b3d45b
i915: Don't do the pitch expansion for tiled buffers.

The weirdness that led to the bumping of pitch for those 512/1024
pixels is that in taking a 2x2 subspan or bilinear filtering we'd end
up hitting the same channel in 2 different pages, leading to lower
performance.  With tiling, that doesn't occur, so we don't need to
waste the memory.
src/mesa/drivers/dri/intel/intel_mipmap_tree.c