NVIDIA Engineer Sends Out Patches For Supporting Sync FDs + Sync Objects With Nouveau
Written by Michael Larabel in NVIDIA on 3 September 2020 at 09:17 AM EDT. 5 Comments
NVIDIA --
Longtime NVIDIA engineer Thierry Reding who has been involved with the open-source Nouveau driver efforts largely from an embedded/mobile Tegra angle last week sent out the newest patch series.

The latest work by Reding is focused on supporting synchronization file descriptors (sync FDs) and synchronization objects (syncobj) with the Nouveau DRM kernel driver.

A new kernel interface is proposed for submitting push buffers that can optionally return a sync FD or sync object to user-space. These synchronization FDs/objects are practical for synchronization operations between the GPU and other drivers like KMS display code.

While the synchronization objects are relevant to an array of use-cases, the initial motivation from the NVIDIA side at least is making use of this new kernel interface for being able to implement eglDupNativeFenceFDANDROID as exposed by the EGL_ANDROID_native_fence_sync extension. EGL_ANDROID_native_fence_sync is similar to KHR_fence_sync.

Reding has been hosting patches for two years already to make use of the sync FD interface by user-space with libdrm and Mesa patches to the Nouveau driver. His testing has been focused on the atomic kmscube program and the Weston reference compositor to Wayland.

The kernel-side work to this Nouveau synchronization objects/file-descriptors work can be found via this patch series and could potentially see mainline as soon as Linux 5.10.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week