drm/i915: allow tiled front buffers on 965+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Apr 2009 21:17:47 +0000 (14:17 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 16 Apr 2009 18:13:11 +0000 (11:13 -0700)
This patch corrects a pretty big oversight in the KMS code for 965+
chips.  The current code is missing tiled surface register programming,
so userland can allocate a tiled surface and use it for mode setting,
resulting in corruption.  This patch fixes that, allowing for tiled
front buffers on 965+.

Cc: stable@kernel.org
Tested-by: Arkadiusz Miskiewicz <arekm@maven.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found