]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix offset page-flips on i965+
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 8 Aug 2010 09:15:59 +0000 (10:15 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:13:00 +0000 (11:13 +0100)
commitf9e870e7fd48c2a02eec3a47d6691dcee0ac1794
treeca2b2b88d5f09592c35553b1802f6c8c6204ac5a
parent42a874dafc9b8ceceee400e3c196ce13c2aec424
drm/i915: Fix offset page-flips on i965+

i965 uses the Display Registers to compute the offset from the display
base so the new base does not need adjusting when flipping. The older
chipsets use a fence to access the display and so do perceive the
surface as linear and have a single base register which is reprogrammed
using the flip.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reported-by: Marty Jack <martyj19@comcast.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_display.c