Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp465890iof; Mon, 6 Jun 2022 06:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEkkeR/5LQljmitaNzJtHcc5TgZtiWhIVasvFuUvNbjGVoYt3x/qf0QTsJc13tUcKiUNDC X-Received: by 2002:a05:6a00:b85:b0:51b:bd9b:869 with SMTP id g5-20020a056a000b8500b0051bbd9b0869mr24518309pfj.31.1654523810870; Mon, 06 Jun 2022 06:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654523810; cv=none; d=google.com; s=arc-20160816; b=KkF0U0asH9wvrsH7/CvyCENikdTts9+/4DTSA195jGWNQKqDVq8KAYR/wAo/WsH/38 h2CzBfYiLyFXR7SBVliH/r/dBjmQq5uAetJZjk32bRGjAYezzFe6Sk87sHPPRsHpeNnQ GWHZ2E5d0z6Oi9D0yv/75FA1h0C8QUBmmPHN9iGNECM3iMYi0xNYcJF2EDo4UUIZNj9u C0Sj6lLvpxCVMoiGsvWwWIyMQiOTr6wAQlHLITmy/ej7sJ/1sYVFEhf7qDLuNJOIQpWx 5i6HyQ8jo8AX4t8faGgPYhmf5iFNQs86KZGCmQkMFoKSR8sZ0rG9yWzZv3vXYeqGxDsn 5rMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=45Gfr3inFH9BeaLjl/yNEArpn/SIzL1LRhq2ulFzT50=; b=PMrvQJ1i8A0QbFwM6fAa0ap5RO0HKuKzYXZdzV/cnCl9JeWd90m5tOJ8k1oIB6IJo2 nJmBbWK5rRMnS2jK+OfaKgFCLRBjU3PpGFK/KzYBL+/nAly0rFKCplI/O3sNGe3s0yMI sqInwIRpr5Wc8WVFE8zq4SeX9lQWT6IFwGlhBkgTC1Wt/JcEnKsQZn7qftVagUL8b8ie eX15/CE0JcFlvspzWNJ6zITGB6v3nfEYLoER6uaoYJ7iQmLR3/uJvtNuKsbLhBkf3rai wIMXiACK58OMewGsxbtA2nMXaXVyIKr7V2Gg3MthP65joffASC0mQIed6N+8H+t0l0Uy cGiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=FpgXV2tx; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Qn1rkyZZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d205-20020a621dd6000000b0051ba522e685si20347710pfd.173.2022.06.06.06.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 06:56:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=FpgXV2tx; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Qn1rkyZZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 08BCA80217; Mon, 6 Jun 2022 06:43:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239165AbiFFNmz (ORCPT + 99 others); Mon, 6 Jun 2022 09:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239142AbiFFNmw (ORCPT ); Mon, 6 Jun 2022 09:42:52 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06D1E2497C for ; Mon, 6 Jun 2022 06:42:50 -0700 (PDT) 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?= Cc: javierm@redhat.com, davidgow@google.com, dlatypov@google.com, tzimmermann@suse.de, maarten.lankhorst@linux.intel.com, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--