Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755938AbcJ0Tiv (ORCPT ); Thu, 27 Oct 2016 15:38:51 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:36166 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754904AbcJ0ThX (ORCPT ); Thu, 27 Oct 2016 15:37:23 -0400 From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Daniel Stone , Daniel Vetter , Rob Clark , Greg Hackmann , John Harrison , laurent.pinchart@ideasonboard.com, seanpaul@google.com, marcheu@google.com, m.chehab@samsung.com, Sumit Semwal , Maarten Lankhorst , Brian Starkey , Gustavo Padovan Subject: [PATCH v6 0/6] drm: add explict fencing Date: Thu, 27 Oct 2016 17:37:05 -0200 Message-Id: <1477597031-5139-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1983 Lines: 51 From: Gustavo Padovan 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@vger.kernel.org/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