]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix up ivb plane 3 pageflips
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 May 2012 12:02:00 +0000 (14:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Jun 2012 19:05:21 +0000 (21:05 +0200)
commit5734d6348d4412e3c9c84c0a00120c1e10c209e5
tree583447e310a90e6e58a58e48427917ae640fab3e
parent9119e911dacd420d860ef8845af357b411220de3
drm/i915: fix up ivb plane 3 pageflips

Or at least plug another gapping hole. Apparrently hw desingers only
moved the bit field, but did not bother ot re-enumerate the planes
when adding support for a 3rd pipe.

Discovered by i-g-t/flip_test.

This may or may not fix the reference bugzilla, because that one
smells like we have still larger fish to fry.

v2: Fixup the impossible case to catch programming errors, noticed by
Chris Wilson.

References: https://bugs.freedesktop.org/show_bug.cgi?id=50069
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Eugeni Dodonov <eugeni.dodonov@intel.com>
Cc: stable@vger.kernel.org
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c