drm/i915: Fix current fb blocking for page flip
authorChia-I Wu <olvaffe@gmail.com>
Thu, 21 Oct 2010 18:35:54 +0000 (19:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Oct 2010 18:38:25 +0000 (19:38 +0100)
commitdc3f82c2e5c3f06e43855f417e4fcfc244383916
tree1e7b48d80495c0ce2911ad397cb35b55578c87cb
parentf00a3ddf91d596bece5fa31e8ce2e8a3b4c0623b
drm/i915: Fix current fb blocking for page flip

Block execbuffer for the fb to be flipped away, not the one that is to
be flipped in.

[ickle: rewritten for -next]
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c