From patchwork Mon Sep 18 22:57:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arthur Grillo X-Patchwork-Id: 13390553 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84997CD3420 for ; Mon, 18 Sep 2023 22:57:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01E4110E171; Mon, 18 Sep 2023 22:57:31 +0000 (UTC) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gabe.freedesktop.org (Postfix) with ESMTPS id B9AEF10E171 for ; Mon, 18 Sep 2023 22:57:28 +0000 (UTC) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4RqKtw2Q2LzDqQM; Mon, 18 Sep 2023 22:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1695077848; bh=a5qAWNm+UMJ0Oyu8eITh6RRhujsvqMrn9VkHcbL3nk4=; h=From:Subject:Date:To:Cc:From; b=daGdVxYE+0zbAtpDifVUClum9DZe9o0COOjbhj9kfSRx9Or1gLy6hycFgSdFdOnyz Cpv8nIzDF/f+lF6/hIRdpgYYTY8DV36CiHTaz3uFGse3yxDqKw4D9BMiNbW99ZL9Cp /RDJ3tkqnjeC6CF30scjM8++4LGp7R517TKRnSi8= X-Riseup-User-ID: 2538954746E958B3E3F0350A99AB2068EEE6747AE17944B8B3C05C62FFF11EC0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4RqKtr1W32zFs0H; Mon, 18 Sep 2023 22:57:23 +0000 (UTC) From: Arthur Grillo Subject: [PATCH v3 0/2] Add KUnit tests for drm_fb_blit() Date: Mon, 18 Sep 2023 19:57:14 -0300 Message-Id: <20230918-final-gsoc-v3-0-02a79380b844@riseup.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMrVCGUC/22MSwqDMBQAryJZ95V8jI2ueo/SRUyf+qBESWxoE e/e6KpClzMws7CIgTCyplhYwESRRp9BnQrmBut7BHpkZpJLxWsuoCNvn9DH0YGqtTVlWSpnOpa DKWBH7312u2ceKM5j+OzvJDb7d5MECEAluLtURtdGXgNFfE1njzPbPkn+tvrQSuDQaonGtbwya A/tuq5fKN0jueEAAAA= To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , tales.aparecida@gmail.com, Javier Martinez Canillas , mairacanal@riseup.net, =?utf-8?b?Sm9zw6kgRXhww7NzaXRv?= , andrealmeid@riseup.net, Arthur Grillo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patchset tests the drm_fb_blit() function. As this function can be used with already tested formats, the first patch adds calls to drm_fb_blit() on the tests of supported formats. Some supported formats were not yet covered by the existing tests because they are only supported by drm_fb_blit(). The second patch adds those format conversion tests. Signed-off-by: Arthur Grillo --- Changes in v3: - Fix memset sizes to avoid out-of-bound access - Link to v2: https://lore.kernel.org/r/20230905-final-gsoc-v2-0-b52e8cb068ea@riseup.net Changes in v2: - Split the patch into two (MaĆ­ra Canal) - Link to v1: https://lore.kernel.org/r/20230901-final-gsoc-v1-1-e310c7685982@riseup.net --- Arthur Grillo (2): drm/tests: Add calls to drm_fb_blit() on supported format conversion tests drm/tests: Add new format conversion tests to better cover drm_fb_blit() drivers/gpu/drm/tests/drm_format_helper_test.c | 285 +++++++++++++++++++++++++ 1 file changed, 285 insertions(+) --- base-commit: 37454bcbb68601c326b58ac45f508067047d791f change-id: 20230901-final-gsoc-395a84443c8f Best regards,