[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477597031-5139-1-git-send-email-gustavo@padovan.org>
Date: Thu, 27 Oct 2016 17:37:05 -0200
From: Gustavo Padovan <gustavo@...ovan.org>
To: dri-devel@...ts.freedesktop.org
Cc: linux-kernel@...r.kernel.org, Daniel Stone <daniels@...labora.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Rob Clark <robdclark@...il.com>,
Greg Hackmann <ghackmann@...gle.com>,
John Harrison <John.C.Harrison@...el.com>,
laurent.pinchart@...asonboard.com, seanpaul@...gle.com,
marcheu@...gle.com, m.chehab@...sung.com,
Sumit Semwal <sumit.semwal@...aro.org>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Brian Starkey <brian.starkey@....com>,
Gustavo Padovan <gustavo.padovan@...labora.co.uk>
Subject: [PATCH v6 0/6] drm: add explict fencing
From: Gustavo Padovan <gustavo.padovan@...labora.co.uk>
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
Powered by blists - more mailing lists