Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1975088rbb; Tue, 27 Feb 2024 07:05:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDUV9majRRdXvp0vFb4p5iC/EzCPJC2kX17l8Pkft7NGR1s0D/0b3oFt2gVodfrjuroEjYwLv0/evbsXui3O84r+LQZufeDCw1My3Mwg== X-Google-Smtp-Source: AGHT+IHPd7I/vP2WjeD/TOJZPhoUSdDVExzLaoQs+Q3tScJUnibmOsmfWXlrZhqKxzs4pxsHU6f2 X-Received: by 2002:a17:90a:304c:b0:299:ecba:cc6a with SMTP id q12-20020a17090a304c00b00299ecbacc6amr8329264pjl.40.1709046301584; Tue, 27 Feb 2024 07:05:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709046301; cv=pass; d=google.com; s=arc-20160816; b=CFg4boHrEr99EU9i9LIQRKCpwqRqPEKnILcpp8YglNjWfsHGmUr6T4c/jsmRdcKBnD y64Ov+NDfgFi3aOLyULqnN+17p9K18Yc0gca3jHdrDoPRNuPIaBN9kjHAvyqFGvxBoiP jEO3F5EQdmQr2U9Qb7hZcs1CNEGsCz8DFSmAhaiS/+5hKIKKJZ7pbHpHPGFMg8eGKeXV 7Xa6V80uKXgVBLinbjIePqp3XX0mz5LJzrh5doGOaetO5eTzsqRXwk34XUZPCcWbwoLT D0tMSYB2GqMPl4dL+NUiPswucOhIlzAXIXpjirnjCxoV7scR16cAdFEY0bXh5RYVLLvb R3BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=BxX/T5aZao8IAh+tvJ+h1jgz8NA+Qb+ugAuRUGDGBxA=; fh=gucw1LPZ48ML5o+eMTnkl8kXnczNrxX+r/xxawh5Ckc=; b=jvf1EpR2BIU1N8WVnjwn2I+WVxQjtn5SQ7UITXiMsfn/GIRLxpH1NtKgpliXNfqkvh ezdEtxWCat/KGRbaoSWpJf2CNk37PpLwdEaY48uPx9bjVcNtQjm1UYOJ9M93pQUrZWDU 980n2JrerAkI6TO7s9TlBj7Pv9nG2vOagosv0I6aIIYwloMhRQlpVpb7h6X7s6+9Svpl BjAHEngT2hezWbbldTxQsemZreMO0TwdkNx0pdHWXFt9LKae5fTru89edNT+sroCKbtZ kY0gndlVS6MF1JXzJgiuZwtcSMGV6fnjGISl8Ri1UXMIG1RvrGEpcG83Oe/eGf24eRAo sx8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=id7cz+2Y; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-83463-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mi13-20020a17090b4b4d00b0029958f76832si5697529pjb.179.2024.02.27.07.05.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 07:05:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83463-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=id7cz+2Y; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-83463-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 49D75293D34 for ; Tue, 27 Feb 2024 15:05:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93127149DF6; Tue, 27 Feb 2024 15:02:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="id7cz+2Y" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B18F1487F0 for ; Tue, 27 Feb 2024 15:02:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046138; cv=none; b=sSKwRhSl6j58FgrVIyd0PndFPbM1R1RHUVgq3lS0XVWwkUxO0b8LFFQVmG4trS2kGGSChiTIl16VjS1m0WsKJ3+KHD86lT6KQuxoqH5JY7ZMECXy+oiaavAxAx1U/J41ahDBHcaG/9u2qRBX8PMThXn7tiZibmPRW5ADiV/v5V8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046138; c=relaxed/simple; bh=OLpthbutP2C2A6Fu0ZsUKf3bnm7e8Nl1D2jO/yNOCZc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KWix5gRZUSvt1myPtPTAKU34pBa1qmNr3PmO4Zt7HG1QdNh90KW3sc9p+Q7TJzIOmeETfNp886rk/g5dHR3EoVDzq4sIO2SreBqmx3NTg/10hH3fnwRT0chtciZM28Ws9oG5eyIaplSKbnIn3M2TRSPnboEAMeLN+2uAIH56Mjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=id7cz+2Y; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id C24A61C0004; Tue, 27 Feb 2024 15:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709046135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BxX/T5aZao8IAh+tvJ+h1jgz8NA+Qb+ugAuRUGDGBxA=; b=id7cz+2Y6DwUH4pY84bMuhCorW2eM7EdsL89UxxR1WAfCzOrFgCfHQM+D/C2zTjCI0ZMeK RJ1yQojPN6Z07XLBGxWxAZlYI/64t0gZowYTYMMhxPrzpMpOQlWAiKgJwNCHgSLB5LWg07 lG/nlHSa9qwqoXa/ZLcY0ZIyzY+ygh3eDaTeIF+41bBY1rnPZOY1Ucdt0tUBW522D4e9XH SZM9CoNBc5KK8ZVJs5Pgj3sun2Bv7w0jugfPqxw9Z/PlXfa3Nwa2+BYW68RDpJHd+Lgayh fOLaAEE759cCbBgZf78mkT3HvtcTNPZYMXVKXjCBi+66Twum2kPDMUIOoO4guw== Date: Tue, 27 Feb 2024 16:02:13 +0100 From: Louis Chauvet To: Arthur Grillo Cc: Rodrigo Siqueira , Melissa Wen , =?iso-8859-1?Q?Ma=EDra?= Canal , Haneen Mohammed , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Jonathan Corbet , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, jeremie.dautheribes@bootlin.com, miquel.raynal@bootlin.com, thomas.petazzoni@bootlin.com Subject: Re: [PATCH v2 9/9] drm/vkms: Create KUnit tests for YUV conversions Message-ID: Mail-Followup-To: Arthur Grillo , Rodrigo Siqueira , Melissa Wen , =?iso-8859-1?Q?Ma=EDra?= Canal , Haneen Mohammed , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Jonathan Corbet , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, jeremie.dautheribes@bootlin.com, miquel.raynal@bootlin.com, thomas.petazzoni@bootlin.com References: <20240223-yuv-v2-0-aa6be2827bb7@bootlin.com> <20240223-yuv-v2-9-aa6be2827bb7@bootlin.com> <4406ec1c-fcfc-4d06-bec2-a428058d32cc@riseup.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4406ec1c-fcfc-4d06-bec2-a428058d32cc@riseup.net> X-GND-Sasl: louis.chauvet@bootlin.com Le 26/02/24 - 13:39, Arthur Grillo a ?crit : > > > On 23/02/24 08:37, Louis Chauvet wrote: > > From: Arthur Grillo > > > > Create KUnit tests to test the conversion between YUV and RGB. Test each > > conversion and range combination with some common colors. > > > > Signed-off-by: Arthur Grillo > > [Louis Chauvet: fix minor formating issues (whitespace, double line)] > > Signed-off-by: Louis Chauvet > > --- > > drivers/gpu/drm/vkms/Makefile | 1 + > > drivers/gpu/drm/vkms/tests/.kunitconfig | 4 + > > drivers/gpu/drm/vkms/tests/Makefile | 3 + > > drivers/gpu/drm/vkms/tests/vkms_format_test.c | 155 ++++++++++++++++++++++++++ > > drivers/gpu/drm/vkms/vkms_formats.c | 9 +- > > drivers/gpu/drm/vkms/vkms_formats.h | 5 + > > 6 files changed, 175 insertions(+), 2 deletions(-) > > You need to add the CONFIG_DRM_VKMS_KUNIT_TESTS config to > drivers/gpu/drm/vkms/Kconfig, like my previous patch did. I don't know how I merged your patch, but I missed the Kconfig file, it was not intended, sorry. Kind regards, Louis Chauvet [...] -- Louis Chauvet, Bootlin Embedded Linux and Kernel engineering https://bootlin.com