]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Return -EBUSY if there's already a pending flip event.
authorRobert Foss <robert.foss@collabora.com>
Tue, 3 May 2016 17:48:20 +0000 (13:48 -0400)
committerEric Anholt <eric@anholt.net>
Tue, 31 May 2016 22:15:55 +0000 (15:15 -0700)
commit58606532d315c3bdd14b515d7d4863b3beaf20b5
tree437782986e1050b5a8a5b40f10282b974524f8a3
parent63c06e7b253281916a974088b2ea3128773a42a7
drm/vc4: Return -EBUSY if there's already a pending flip event.

As per the documentation in drm_crtc.h, atomic_commit should return
-EBUSY if an asynchronous update is requested and there is an earlier
update pending.

v2: Rebase on the s/async/nonblock/ change.

Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_kms.c