From patchwork Fri May 5 17:42:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 98647 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp243898qge; Fri, 5 May 2017 10:43:55 -0700 (PDT) X-Received: by 10.99.43.199 with SMTP id r190mr4728083pgr.131.1494006235872; Fri, 05 May 2017 10:43:55 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b26si5905354pfd.232.2017.05.05.10.43.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 10:43:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 041D06E70F; Fri, 5 May 2017 17:43:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by gabe.freedesktop.org (Postfix) with ESMTPS id 811D86E70F for ; Fri, 5 May 2017 17:43:53 +0000 (UTC) Received: from e110455-lin.cambridge.arm.com (e110455-lin.cambridge.arm.com [10.2.131.9]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id v45HgwqQ018454; Fri, 5 May 2017 18:42:58 +0100 From: Liviu Dudau To: Daniel Vetter Subject: [PATCH v4 0/2] drm: Introduce writeback connectors Date: Fri, 5 May 2017 18:42:56 +0100 Message-Id: <20170505174258.8376-1-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.12.2 Cc: LKML , DRI devel X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, This is an update of Brian Starkey's RFC v3 series introducing support for memory writeback engines as special connector. My contribution has been minor compared to previous version, mostly rebasing, addressing some of the comments and cleaning up the behaviour of set_out_fence_for_connector() function to match what the set_out_fence_for_crtc() callers do. I've split out the Mali DP patches that use this series into a separate patchset to be sent shortly after this. I'm taking over from Brian on this, so please send the comments to me but don't be afraid to Cc him on them. Best regards, Liviu Brian Starkey (2): drm: Add writeback connector type drm: writeback: Add out-fences for writeback connectors Documentation/gpu/drm-kms.rst | 9 + drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_atomic.c | 229 +++++++++++++++++++++++- drivers/gpu/drm/drm_atomic_helper.c | 6 + drivers/gpu/drm/drm_connector.c | 4 +- drivers/gpu/drm/drm_writeback.c | 335 ++++++++++++++++++++++++++++++++++++ include/drm/drm_atomic.h | 11 ++ include/drm/drm_connector.h | 13 ++ include/drm/drm_mode_config.h | 22 +++ include/drm/drm_writeback.h | 115 +++++++++++++ include/uapi/drm/drm_mode.h | 1 + 11 files changed, 736 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/drm_writeback.c create mode 100644 include/drm/drm_writeback.h