]> git.baikalelectronics.ru Git - kernel.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)
commit698d070ff430ed06ef264011b7fac6a89be06832
tree9ea3be5286449fba068241804ea8d86dbc171f49
parentec4422fb7e92bc9a6a064ef7fbdc482f1e8b64ca
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