From patchwork Fri May 18 15:17:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 136320 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1371538lji; Fri, 18 May 2018 08:18:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpJrAkZ13MLGgmVasj8PsyxFL2kq8kMCbBOIk96I1vKdv1jvucIXO1+wN4ZgDO/IrDTOzA1 X-Received: by 2002:a63:7804:: with SMTP id t4-v6mr8049013pgc.323.1526656680569; Fri, 18 May 2018 08:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526656680; cv=none; d=google.com; s=arc-20160816; b=LSIRvjq7b3EJ2QWgr7bMP3wY3TSrVxXRvqfeShFZYXekmPpvVBL1fkWMXcetJZEW00 6OEn1CAi2hsxXBMTrY+6Q+Q4VK9jYrl5Hk3L1Hp0hR5+PhQtBk3Y1ia5n7e9UnDTlprI fggXb6dRODUc2Q6OcEqtHM2Uq6hSY+64UDjLCOQ65zf2oPStXwGyD4R1hVcd7WaLF1Kf VNp85jMPOCowM+oJfc5dnvSwdHKJybogi+mD0F6SDt1PP7lmFU1SUKl5e7+Mh6UjJ+yZ SYxzTZtIhBGkdJzwSPRaTUOji66l/cxy00gxAQONCAm7kF/aoYrwNRCzqxjOaDRpv3lr LU+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=egF8BoITNHto2lkjvI6BXhSg2FZMw9nEBaLu4cVxSKo=; b=Sp3hwPFSCc//CARpDZCzp7hgPfUQxydPHW4AjZp3M3mFlFKMMiCgmCvmqPD81M3JkP pr3FYN1KzQ2hZv8isrwcYOpITvajmTqpM/z0V0E6mzW5aHHqRt9dDDArzxmZqqBW9umW 78NVWkQSzcT9UdFFSOWxcAltgPUxApuLvEnyIH74NVtbXzaCmlANNSupggq57Sga5B7Q dQFyknHRx8menMW29LzyIyK6A5QVSqx3Ikgz6pQz7Ou8QYTwWF2GHhfeyL+N6d1llcoS E70nmUnjG4jjsP5iYmDpMzM22CpgoaGQKT/98hYvjdqg5xhAkkQ7CRkeM6lbVaW6myxc HF0Q== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y5-v6si7526009plt.357.2018.05.18.08.18.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 08:18:00 -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 A8DEE6EE02; Fri, 18 May 2018 15:17:57 +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 E1F8A6EDF9 for ; Fri, 18 May 2018 15:17:55 +0000 (UTC) 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 w4IFHhrH024053; Fri, 18 May 2018 16:17:43 +0100 From: Liviu Dudau To: Gustavo Padovan Subject: [PATCH v8 0/3] drm: Introduce writeback connectors Date: Fri, 18 May 2018 16:17:40 +0100 Message-Id: <20180518151743.29937-1-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.17.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Daniel Stone , Jonathan Corbet , David Airlie , Boris Brezillon , Alexandru-Cosmin Gheorghe , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, This is v8 of the writeback connector series. v7 got flagged by the kbuild bot as not being correctly bisectable, so I went and fix that. 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 Reviewed-by: Eric Anholt