]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: allow tiled front buffers on 965+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Apr 2009 21:17:47 +0000 (14:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:04 +0000 (15:45 -0700)
commit90d88db860348276d874b78c432f6b3b780c8c8d
treec991ea847187685ed90bf031f64d20b88f11d01b
parent8e04ad485fa8a1235490128819c5b84f7eb34afe
drm/i915: allow tiled front buffers on 965+

commit f544847fbaf099278343f875987a983f2b913134 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c