[PATCH v2] drm/vc4: Return -EBUSY if there's already a pending flip event.

Eric Anholt eric at anholt.net
Tue May 3 19:22:00 UTC 2016


robert.foss at collabora.com writes:

> From: Robert Foss <robert.foss at collabora.com>
>
> As per the documentation in drm_crtc.h, atomic_commit should return
> -EBUSY if an asycnhronous update is requested and there is an earlier
> update pending.
>
> Note: docs cited here are drm_crtc.h, and the whole quote is:
>
>     *  - -EBUSY, if an asynchronous updated is requested and there is
>     *    an earlier updated pending. Drivers are allowed to support a queue
>     *    of outstanding updates, but currently no driver supports that.
>     *    Note that drivers must wait for preceding updates to complete if a
>     *    synchronous update is requested, they are not allowed to fail the
>     *    commit in that case.
>
> Signed-off-by: Robert Foss <robert.foss at collabora.com>

This looks good to me.  Let's give it a few days on the list for any
other KMS folks to catch anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160503/c0d82795/attachment.sig>


More information about the dri-devel mailing list