[Mesa-dev] [PATCH 0/3] RadeonSI sync_file fences

Marek Olšák maraeo at gmail.com
Tue Sep 12 20:50:34 UTC 2017


Hi,

This series adds support for sync_file fences, enabling
EGL_ANDROID_native_fence_sync.

Dependencies:

Kernel patches (based on drm-next):
    drm/syncobj: extract two helpers from drm_syncobj_create
    drm/syncobj: add a new helper drm_syncobj_get_fd
    drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file

libdrm patches:
    amdgpu: add sync_file import and export functions
    drm: add drmSyncobjWait wrapper
    amdgpu: add amdgpu_cs_syncobj_wait
    amdgpu: add amdgpu_cs_fence_to_handle

So far the extension has only been tested with piglit, which only contains
very basic tests. I wonder if there are better tests.

Please review.

Thanks,
Marek


More information about the mesa-dev mailing list