[PATCH v8 0/3] drm: add explict fencing

From: Gustavo Padovan
Date: Fri Nov 11 2016 - 09:34:43 EST


From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx>

Hi,

Another iteration after Brian comments. Please refer to the cover letter[1] in
a previous version to check for more details.

The changes since the last version can be seen in commit message on 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 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 | 257 +++++++++++++++++++++++++++++-------
drivers/gpu/drm/drm_atomic_helper.c | 5 +
drivers/gpu/drm/drm_crtc.c | 45 +++++++
drivers/gpu/drm/drm_plane.c | 1 +
include/drm/drm_atomic.h | 1 +
include/drm/drm_crtc.h | 56 ++++++++
7 files changed, 321 insertions(+), 45 deletions(-)

--
2.5.5