]> 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)
commitf8e86d86f7b84a2949542b9e65d8d922b54eb3dd
tree437782986e1050b5a8a5b40f10282b974524f8a3
parent690056b508ec239bc0535fb3c1a7daccadd84be7
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