From patchwork Tue Jan 15 17:47:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 10764963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5FAEA14E5 for ; Tue, 15 Jan 2019 18:39:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EA252D354 for ; Tue, 15 Jan 2019 18:39:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 429702D3AB; Tue, 15 Jan 2019 18:39:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9C8162D354 for ; Tue, 15 Jan 2019 18:39:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 22F786EE1C; Tue, 15 Jan 2019 18:39:55 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: delayed 3113 seconds by postgrey-1.36 at gabe; Tue, 15 Jan 2019 18:39:52 UTC Received: from cam-smtp0.cambridge.arm.com (unknown [217.140.106.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id D52436EE1C; Tue, 15 Jan 2019 18:39:52 +0000 (UTC) Received: from localhost.localdomain (juno-r1-ld.cambridge.arm.com [10.2.130.53]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id x0FHlnZe004151; Tue, 15 Jan 2019 17:47:49 GMT From: Liviu Dudau To: Brian Starkey Date: Tue, 15 Jan 2019 17:47:41 +0000 Message-Id: <20190115174747.3138-1-liviu.dudau@arm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t v5 0/6] igt: Add support for testing writeback connectors X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Intel GFX ML , IGT GPU Tools Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP We're trying to introduce support for writeback connectors, a way to expose in DRM the hardware functionality from display engines that allows to write back into memory the result of the DE's composition of supported planes. Although this is a rebase of v4 with all the comments addressed, I'm not expecting people to remember any of the previous versions, please review this as if it is a new series. Patches have been originally implemented by Brian, I've done the v3 and v4 updates to them. Best regards, Liviu Changelog: - v5: Addressed comments from Brian Starkey. Old v4 changes are here: https://lists.freedesktop.org/archives/igt-dev/2018-November/006806.html - v4: Rebased on the latest i-g-t and switched to the igt_output_xxx() call as suggested by Maarten. v3 is here: https://lists.freedesktop.org/archives/intel-gfx/2018-March/157394.html Maarten's comments came a couple of months later :) https://lists.freedesktop.org/archives/intel-gfx/2018-June/169027.html - v3: I've now dropped all the changes that were trying to split the CRC functionality out of lib/igt_debugfs.c. v2 is here: https://lists.freedesktop.org/archives/intel-gfx/2017-July/133154.html - Added meson support for builting the kms_writeback test Brian Starkey (6): lib/igt_kms: Add writeback support kms_writeback: Add initial writeback tests lib: Add function to hash a framebuffer kms_writeback: Add writeback-check-output lib/igt_kms: Add igt_output_clone_pipe for cloning kms_writeback: Add tests using a cloned output lib/igt_fb.c | 66 ++++++ lib/igt_fb.h | 3 + lib/igt_kms.c | 157 +++++++++---- lib/igt_kms.h | 11 + tests/Makefile.sources | 1 + tests/kms_writeback.c | 492 +++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 7 files changed, 693 insertions(+), 38 deletions(-) create mode 100644 tests/kms_writeback.c