From patchwork Thu May 17 16:43:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 136159 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp225879lji; Thu, 17 May 2018 10:37:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoOoj3+oRb97gZ8Mi5ms7uSM6avrXoelrqxDEBvv8iYDSHn3LyxhdYHx+QkFforio3GMAcY X-Received: by 2002:a62:449c:: with SMTP id m28-v6mr5986176pfi.145.1526578652763; Thu, 17 May 2018 10:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526578652; cv=none; d=google.com; s=arc-20160816; b=V7BkACNGhI05Pxk36inxjp85Ccaq9CCB60E10Lp1FJaV1Q3E57EbAp8PRLvIEEgyMn WbVkE94QVAtpZ9JmMQy1HH6mZGFqJ7x8mVp/M8USjZ4HCR5iC0yVuZR6lf4j6NSFvI8i Wa+i+7w8Pz6BGnDTp/tP7cmVx0f98gocbfni60zniyANZi7cNJyCN1fOiI4Cl6YBzHWk qIDIn6pK5qO4PTJfE5YiUBDFI8OTPM6uqXf06pkB15JR1CGsz3IrMM680bzeXmHTNi4m spxwsLGDWwg9L5o5k8I2BkWXt3ErwzsHlhmkVMeha7Op8H1B+aBtNct2nPRdPYpax06+ xyjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=eK/pqv3RADhvkMNx5d0Nr8wotmV7fmbH9E8OypcMjsE=; b=tvKSMZeC5yIqEKi6t7ZRdTYbTDmcpjXSkhbPAOq93xoIofOOt8pi2VpTLTtQgxyrIP EWuq7qHn2LAYDMnj7pEVNfKu8jY2yXMS3KpbIZBQwLTTkcOEMMSsRTiSV1qzWdEr7rIS RETK6IAOgm1VSp/ugWgiDj6PzvsfPZdqDvMK9Ya15CATKwqOOGm5yhdh37huzW/g/Bzs O9p2csrgqVTlMVStsc8T26nFwp7ed9DnqB+pXu8vxkkd1lkfjl1nQCovhmrGIGkCcvFA LavtG1+fMRrHzVCibTkQ9gJeYJTV9UnAYthAekExN3vCU44nytLDW5RLDmM2I+8yASAc tF0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j33-v6si5542954pld.151.2018.05.17.10.37.32; Thu, 17 May 2018 10:37:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984AbeEQRha (ORCPT + 29 others); Thu, 17 May 2018 13:37:30 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:59806 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751047AbeEQRh3 (ORCPT ); Thu, 17 May 2018 13:37:29 -0400 X-Greylist: delayed 3224 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 May 2018 13:37:28 EDT Received: from e110455-lin.cambridge.arm.com (e110455-lin.cambridge.arm.com [10.2.131.15]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w4HGhS3V006127; Thu, 17 May 2018 17:43:29 +0100 From: Liviu Dudau To: Gustavo Padovan Cc: Maarten Lankhorst , Sean Paul , Jonathan Corbet , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, David Airlie , Brian Starkey , Alexandru-Cosmin Gheorghe , Eric Anholt , Boris Brezillon , Maxime Ripard , Daniel Stone Subject: [PATCH v7 0/3] drm: Introduce writeback connectors Date: Thu, 17 May 2018 17:43:25 +0100 Message-Id: <20180517164328.11814-1-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is v7 of the writeback connector series. This is just a refresh of the v6 series in order to get it ready for merging into the kernel, now that the userspace implementation has been reviewed and ACKed by Sean Paul here [1]. For anyone that wants a refresh on what changed in v6, the series can be found here [2]. The only change in v7 is that the userspace capabilities patch does not depend on the cleanup patch that got NACKed. Best regards, Liviu [1] https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/merge_requests/3 [2] https://lists.freedesktop.org/archives/dri-devel/2018-February/167703.html Brian Starkey (2): drm: Add writeback connector type drm: writeback: Add out-fences for writeback connectors Liviu Dudau (1): drm: writeback: Add client capability for exposing writeback connectors Documentation/gpu/drm-kms.rst | 9 + drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_atomic.c | 227 +++++++++++++- drivers/gpu/drm/drm_atomic_helper.c | 30 ++ drivers/gpu/drm/drm_connector.c | 4 +- drivers/gpu/drm/drm_ioctl.c | 7 + drivers/gpu/drm/drm_mode_config.c | 5 + drivers/gpu/drm/drm_writeback.c | 360 +++++++++++++++++++++++ include/drm/drm_atomic.h | 11 + include/drm/drm_connector.h | 13 + include/drm/drm_file.h | 7 + include/drm/drm_mode_config.h | 23 ++ include/drm/drm_modeset_helper_vtables.h | 11 + include/drm/drm_writeback.h | 129 ++++++++ include/uapi/drm/drm.h | 9 + include/uapi/drm/drm_mode.h | 1 + 16 files changed, 837 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/drm_writeback.c create mode 100644 include/drm/drm_writeback.h -- 2.17.0