From patchwork Thu May 24 16:41:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 136753 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2446854lji; Thu, 24 May 2018 09:41:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo7eWHbfBkTZTtDtLYLGxsQDJvcxWm7/zdjpVaDcgyNMoCdvJSFcYYCu0DG2FcUxoCaNRQz X-Received: by 2002:a65:6557:: with SMTP id a23-v6mr6475590pgw.319.1527180082956; Thu, 24 May 2018 09:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527180082; cv=none; d=google.com; s=arc-20160816; b=QEyMsrEb6oyLS+o7TvZLd+btt3BeofD4fUgRDlswfIKSnVRxGw10CsBStqKJtGO5wT yxye4sRYNPStkI6UDjNdV/07COenkuesglT86mxJDlIH4SEzVq3+UxcbPvkYe9b24/5f yE4RQChWb0z6MHJHvEtTS461VypmIGQOAhXjGtWLjsQ9sm+zrZAR06cqvOBjtnkKfSOo DeREALWqYXNxvj/inSVP3q+MYhPn1+T+sea/COapXqGxutIJspiIWJZQGQ3cCTq5k47p qIKHEuqJqLPCBETpxqCM1wIC4kpvv1+N+tnhrFNnaaNtFVsYcIVt+P8NDcFIqG/ioPLZ UNgg== 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=vd1j9HcmFj4LJhFvlJk+zY97kn58XpwuUtw44t8Rx9g=; b=Az1Uj2UW+y0p6o0kpxHeYC53WwjIvDJReKwNh1g4nCBumVfss08OTRp4JRZof2Ufqp 94DxQANmeUVSRy8pqJxW8uuEEx6f757WeQEzgsBSMMZQZIyzt2sO01vWJ3bydUlEKEjp JpnzQoiGOYwIwIYLJ1jt2z5dB2ak9jbqPDc1IEFO10QP3Rgo+p2bCVCfL6aOmNo9fI0J xfkex0Syjocod0dEnM5yoylq07ycP33atPJQEy5uKnv9mjZ4lI8cKOipRD93u8T/xxtm iwZ3X65BkhAUZoW6dLdUERuWaQOAv482jJrP8Uy+zw16vxJEEkrPREdR+OxBn+HtH5Jz UZ5A== 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 t126-v6si21653202pfd.55.2018.05.24.09.41.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 May 2018 09:41:22 -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 8A0C06E64C; Thu, 24 May 2018 16:41:19 +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 D12D26E027 for ; Thu, 24 May 2018 16:41:17 +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 w4OGf3qr030243; Thu, 24 May 2018 17:41:03 +0100 From: Liviu Dudau To: Gustavo Padovan Subject: [PATCH v9 0/3] drm: Introduce writeback connectors Date: Thu, 24 May 2018 17:41:00 +0100 Message-Id: <20180524164103.8378-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 v9 of the writeback connector series. Compared to v8 I've addressed the comments from Eric Anholt, as well as Maarten Lankhorst's and Daniel Vetter's one on the client capabilities. Most importantly, I've also realised that Dave Airlie has moved the drm-next tree to fd.org and went and rebased the patches on top of the new tree, which had conflicts with this series as the aspect ration capability was introduced in the meanwhile. I will ask Gustavo to pull this series into drm-misc if there are no further comments. Best regards, Liviu 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