[PATCH v12 0/3] drm: add explicit fencing

From: Gustavo Padovan
Date: Tue Nov 15 2016 - 08:07:01 EST


From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx>

Hi,

Yet another iteration, v12 now after working on the changes proposed by Chris
Wilson.

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 ran AOSP on top of padovan/fences kernel branch with full fence support on
qemu/virgl and msm db410c. That means we already have a working open source
userspace using the explicit fencing implementation.

Also i-g-t testing are available with all tests suggested in v7 included:

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 (3):
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 | 255 +++++++++++++++++++++++++++++-------
drivers/gpu/drm/drm_atomic_helper.c | 5 +
drivers/gpu/drm/drm_crtc.c | 52 ++++++++
drivers/gpu/drm/drm_crtc_internal.h | 10 ++
drivers/gpu/drm/drm_plane.c | 1 +
include/drm/drm_atomic.h | 1 +
include/drm/drm_crtc.h | 40 ++++++
8 files changed, 320 insertions(+), 45 deletions(-)

--
2.5.5