From mboxrd@z Thu Jan 1 00:00:00 1970 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 502D2C43334 for ; Mon, 6 Jun 2022 13:42:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 689E111A2E0; Mon, 6 Jun 2022 13:42:53 +0000 (UTC) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFC9B11A2E0 for ; Mon, 6 Jun 2022 13:42:51 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4A04032002FB; Mon, 6 Jun 2022 09:42:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 06 Jun 2022 09:42:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1654522966; x=1654609366; bh=45Gfr3inFH 9BeaLjl/yNEArpn/SIzL1LRhq2ulFzT50=; b=FpgXV2txJMebnxi0z5IpgJA/wh m0Holm0r0ygOAAxUMdxAThh5nb4i7gdoIEpADiEL2qIT+qei1D1V861Ce5xfe6xP t8TKNCtupHJKLYItc1wt96a/Red25VsRTSp7fyiXKSEA+NhYQxkWCXe16uM6cdBe 0HbYG1vFm84aCxe4M0+BfkgN87e4arUsVKiSnzz+GvdGf18+fP0FMkc2FWlSfW1X /E0xrZER7SBJRakGX4ISxJ+vtqZNdtYK5CDWBAwXYdLtlC9c0CA6Hs3uCJUrUQLk 278gPMInGtpgiNcuVjYoqzfCVgPtBscDx6QBf60R1VGFLHXeMMB2hg7ShUYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1654522966; x=1654609366; bh=45Gfr3inFH9BeaLjl/yNEArpn/SI zL1LRhq2ulFzT50=; b=Qn1rkyZZGY5y56FLKg2vzeJ8EMF+ED3pUYT2B+3CzTZW epggyMvlKmw+kqtSZDln5CTsAwwYniy4T9T2gN12xS9RWau3eWwsALMuysmCwn8f zvjggfWr3LHmyyTBpi6++Uvi71HZnRiUjioAjjXvc6/vIhuNsl1KV5tdcDCc17a5 c2Y3b0YTVkRGrsmT3joBSdjrZ7VnMwO8igY6OVR2bKZh2lJaHcnvxefdIvd4Yy/0 i0kcS7d6WZLBlIXek7SRPZfAFcB2ES3NDa4gxjJ5QKw4PMEuDEjujw/r4oWCl47X uI+ztZG++ggPHKJq85OLjBcRcVPvpWn8YDE8W6T8Uw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtvddgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeejveefheefkeeiffegveelveetgffffeektdefuefhtedtgeejhefggedu ffffudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Jun 2022 09:42:45 -0400 (EDT) Date: Mon, 6 Jun 2022 15:42:42 +0200 From: Maxime Ripard To: =?utf-8?B?Sm9zw6kgRXhww7NzaXRv?= Subject: Re: [PATCH 1/1] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332() Message-ID: <20220606134242.h6kuqn4zbpmc2rql@houat> References: <20220606095516.938934-1-jose.exposito89@gmail.com> <20220606095516.938934-2-jose.exposito89@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nmupzpdydlfrfe4r" Content-Disposition: inline In-Reply-To: <20220606095516.938934-2-jose.exposito89@gmail.com> 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: davidgow@google.com, airlied@linux.ie, dlatypov@google.com, javierm@redhat.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, tzimmermann@suse.de, kunit-dev@googlegroups.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --nmupzpdydlfrfe4r Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jun 06, 2022 at 11:55:16AM +0200, Jos=E9 Exp=F3sito wrote: > Test the conversion from XRGB8888 to RGB332. >=20 > What is tested? >=20 > - Different values for the X in XRGB8888 to make sure it is ignored > - Different clip values: Single pixel and full and partial buffer > - Well known colors: White, black, red, green, blue, magenta, yellow > and cyan > - Other colors: Randomly picked > - Destination pitch >=20 > How to run the tests? >=20 > $ ./tools/testing/kunit/kunit.py run --kunitconfig=3Ddrivers/gpu/drm \ > --kconfig_add CONFIG_VIRTIO_UML=3Dy \ > --kconfig_add CONFIG_UML_PCI_OVER_VIRTIO=3Dy It's not clear to me why you would need VIRTIO here? The Kunit config file should be enough to run the tests properly Maxime --nmupzpdydlfrfe4r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYp4EUgAKCRDj7w1vZxhR xdD/AQCVKUFsKCwDjplnL7J+4MZC7u9BvBuBbUwiUaBES9UgqQEA+JV0l+OYLBD+ 6FCuKDewDOpOGvmYO3+pxyijE6tjnws= =aLxf -----END PGP SIGNATURE----- --nmupzpdydlfrfe4r--