From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx> This is yet another version of the DRM fences patches. Please refer to the cover letter[1] in previous version to check the fences details. For v6 we create drm_atomic_set_fence_for_plane() that tries to abstract from drivers if we are using implicit or explicit fencing. There is lot of improvements from the last version. Details of what changed can be found on commit message of each patch. Robert Foss managed to port Android's drm_hwcomposer to the new HWC2 API and added support to fences. Current patches can be seen here: https://git.collabora.com/cgit/user/robertfoss/drm_hwcomposer.git/log/?h=hwc2_fence_v1 He managed to run AOSP on top of padovan/fences kernel branch with full fence support on qemu/virgl. Next we will be looking to msm db410c. As for igt we have been progressing on adding sw_sync and drm fences tests. I'll be improving the tests while waiting for review on this series. https://git.collabora.com/cgit/user/padovan/intel-gpu-tools.git/log/ Please review! Gustavo [1] https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1253822.html --- Gustavo Padovan (6): drm/atomic: add drm_atomic_set_fence_for_plane() drm/imx: use drm_atomic_set_fence_for_plane() to set the fence drm/msm: use drm_atomic_set_fence_for_plane() to set the fence drm/fence: add in-fences support drm/fence: add fence timeline to drm_crtc drm/fence: add out-fences support drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/drm_atomic.c | 244 +++++++++++++++++++++++++++++++----- drivers/gpu/drm/drm_atomic_helper.c | 5 +- drivers/gpu/drm/drm_crtc.c | 45 +++++++ drivers/gpu/drm/drm_plane.c | 1 + drivers/gpu/drm/imx/imx-drm-core.c | 6 +- drivers/gpu/drm/msm/msm_atomic.c | 3 +- include/drm/drm_atomic.h | 3 + include/drm/drm_crtc.h | 61 +++++++++ 9 files changed, 335 insertions(+), 34 deletions(-) -- 2.5.5 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel