]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
DRM/i915: only use tiled blits on 965+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 1 Jul 2008 19:32:52 +0000 (12:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Jul 2008 01:42:23 +0000 (18:42 -0700)
commit3d25802e3ba7c82457b5c12bbfeefe391d8a333e
tree9ea3be5286449fba068241804ea8d86dbc171f49
parent83680cdbcecd1fd284ad4df060d12bf214bb63a8
DRM/i915: only use tiled blits on 965+

When scheduled swaps occur, we need to blit between front & back
buffers.  If the buffers are tiled, we need to set the appropriate
XY_SRC_COPY tile bit, but only on 965 chips, since it will cause
corruption on pre-965 (e.g. 945).

Bug reported by and fix tested by Tomas Janousek <tomi@nomi.cz>.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/drm/i915_irq.c