Skip to content

backend-drm: Add support for handling release_fence

Vivek Kasireddy requested to merge Vivek/weston:out_fence into main

If DRM_CAP_RELEASE_FENCE capability is exposed by KMS, then include the RELEASE_FENCE_PTR as part of the atomic commit. After getting a valid release fence fd, take an additional reference on all the fbs included in the atomic commit and also register a handler for the release fence fd by adding it to the main event loop.

This patch in addition to other related DRM driver patches can solve: #514 (closed)

Corresponding DRM/Virtio-gpu patches:

Qemu UI patch:

Edited by Vivek Kasireddy

Merge request reports