drm/i915: fix relaxed tiling for gen <= 3 && !g33
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 14 Nov 2010 21:32:36 +0000 (22:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Nov 2010 05:22:16 +0000 (05:22 +0000)
commit5e78330126e23e009502b21d1efdabd68ab91397
tree91415acc000ae651d12def49c40de89e520c7ead
parent8168bd48bb863c00747497aadf13884b2d69d287
drm/i915: fix relaxed tiling for gen <= 3 && !g33

g33/pineview doesn't have any alignment constrains for unfenced tiled
buffers. But older chips have. Fix this.

Problem introduced in a00b10c360b35d6431a94cbf130a4e162870d661.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c