drm/i915: hold ref on flip object until it completes
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 10 Feb 2010 23:09:44 +0000 (15:09 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 11 Feb 2010 01:34:46 +0000 (17:34 -0800)
This will prevent things from falling over if the user frees the flip
buffer before we complete the flip, since we'll hold an internal
reference.

Reported-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found