[PATCH] drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE

Simon Ser contact at emersion.fr
Wed Aug 16 08:07:16 UTC 2023


On Tuesday, August 15th, 2023 at 20:19, Erik Kurzinger <ekurzinger at nvidia.com> wrote:

> If DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT is invoked with the
> DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE flag set but no fence has yet been
> submitted for the given timeline point the call will fail immediately
> with EINVAL. This does not match the intended behavior where the call
> should wait until the fence has been submitted (or the timeout expires).

Good catch!

Reviewed-by: Simon Ser <contact at emersion.fr>


More information about the dri-devel mailing list