Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp397984rdb; Mon, 18 Sep 2023 20:44:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEx8ghuP0sASzZVmtHkZl3gL4qL2bj73/YS6EU4oX6zrcQSn2OIHj9FBDNyb81Ln07C9mqm X-Received: by 2002:a05:6a20:e11a:b0:14c:76bd:10c1 with SMTP id kr26-20020a056a20e11a00b0014c76bd10c1mr12264957pzb.21.1695095054204; Mon, 18 Sep 2023 20:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695095054; cv=none; d=google.com; s=arc-20160816; b=djz2/0/+ke6Q8OteARqqgoIHD97p+Py0Lz5u6kfjQJZs0MUUcpv8ILkfrd3OhuzcaK G2I+QioIcqcfVoeLcCXCg6vGWKJYrVYEvU9LoYENBstKvVArBHPrx1RrbIkEe39TQGy5 jKW9IFssEk4NzMmzD8hRU5k+o/LXd4dTV6Z310KRlCCpIcYRbDyfAa7aOYkKbZgleKSt yBUf46kvWgtGb2IULeXdeJnB9+7MvsYvTdXB4//p3Hcw0M43wiEji29OKPhHQWgznQLc fDQMLEWyNQFRmS6iiS9KkKWTPcLTe145A7m5IYh6rdjp9Yxv5j7J7bcGaa8IGwpEF/t+ 55nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=Bpebn34sI7bPqfWhSoWjOUahGcWTEl2JaM8v/L1H7nU=; fh=gjOHPC0FO1dNCJ2P+gZmaJhRRrnPDsFZjrJi4EzM6mw=; b=WjrG2V26Tlvd1sWS/A2cqogdbDIbUhIlSX3a0tqu+kbUD0uOCWAXi2NnTH3YDE74GG afBldaWaV6DA9jmTf1Z7Lmj+EgFtBMqyhIB274koVBUk4kjQN7kziKr435fVMUqFfpHF zuT/41OloN29vUMc9CgEbIKKAvIjxvFt/9V5HTNhdcXTKLN/j5rs8HXFKWaJssExZ2tK 92qnrA3aIEr+5ztyj1C8gzK5875IxHPHw4hcCWILkwkH8Yaoz00jKzvLJ93XNtqOacUy 8LURXhlucPU14wcDDu4NRzVKDWi0ZJHnGhPrIYR6NhLEbitZwwOi25ERGEPZrg8Vfc6f 0gCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=daGdVxYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n3-20020a6546c3000000b00563a0bacbb4si858605pgr.694.2023.09.18.20.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 20:44:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=daGdVxYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6C3E9818C78A; Mon, 18 Sep 2023 15:57:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjIRW5f (ORCPT + 99 others); Mon, 18 Sep 2023 18:57:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbjIRW5f (ORCPT ); Mon, 18 Sep 2023 18:57:35 -0400 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5241891 for ; Mon, 18 Sep 2023 15:57:29 -0700 (PDT) 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 Cc: tales.aparecida@gmail.com, andrealmeid@riseup.net, mairacanal@riseup.net, David Airlie , Daniel Vetter , =?utf-8?q?Jos=C3=A9_Exp=C3=B3sito?= , Javier Martinez Canillas , Thomas Zimmermann , Arthur Grillo X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 15:57:49 -0700 (PDT) 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, -- Arthur Grillo