drm: use page flip event to signal flip completion
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 19 Nov 2009 18:50:22 +0000 (10:50 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 17:11:53 +0000 (09:11 -0800)
commit7bd4d7be5c8c35a401b1589201e5d43a64d3f05b
tree52b997780ce81907238d700f8cd1424013267275
parent6b95a207c1fd552e7d017837c5eaf1b0173a48c9
drm: use page flip event to signal flip completion

We don't actually know which frame number the flip will complete on, so
userspace needs a specific flip notification to tell it when the last flip
completed.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
drivers/gpu/drm/drm_crtc.c
include/drm/drm.h