]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: handle same-fb page flips
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Fri, 5 Oct 2012 10:26:32 +0000 (12:26 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 22 Oct 2012 02:25:38 +0000 (12:25 +1000)
commitdf2b8cd28e3425e199373f45a3d8aa7d94afbc3d
treee901da8f9df50c0f4bd6231b2c38e72cbd84405e
parentb78829d9bc507ecc7c972d82767124c7fec9d9aa
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