drm/nouveau: handle same-fb page flips
commit2c14575f99ddd5b8384c5b460687ceba181900d8
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Fri, 5 Oct 2012 10:26:32 +0000 (5 12:26 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 22 Oct 2012 02:25:38 +0000 (22 12:25 +1000)
treee901da8f9df50c0f4bd6231b2c38e72cbd84405e
parent565f571c48f01a681243a356e9083f5cf24b432e
drm/nouveau: handle same-fb page flips

It's questionable use case, but weston/wayland already relies on this
behaviour, and other drivers don't care about it, so it's a matter of
compatibility.  Without it, process invoking such page flip hangs in
unkillable state, trying to reserve the same buffer twice.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c