Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp722984lqb; Fri, 15 Mar 2024 05:01:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdgXBfHnMTmWbYPPv65rb185OUczc7zIkZFVO6b0XYpKZkSnN5I/w4v93frQpBpTe4W5o/Z8IXos4rwZq2jBx0XRUHHI3U/MIWftlIPg== X-Google-Smtp-Source: AGHT+IGhuABB3ZPxDh7971zf0sfBZdAKHnF71eDgPwUBSqhX3UmmAn14NkeR0Oq8UHmBf3Kk/SWa X-Received: by 2002:a05:6871:3a0f:b0:221:3f51:984a with SMTP id pu15-20020a0568713a0f00b002213f51984amr3701974oac.56.1710504072148; Fri, 15 Mar 2024 05:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710504072; cv=pass; d=google.com; s=arc-20160816; b=FhT4XjX91vu7f3l2uMIrPfan+kRN8d2n+9t/PKDDGz/csDx86Rrva3H5okIyNXtLLO ujgMaoGA/gOepUnZuzOuieXHpBleqQ1iqrBL38XjSTJiCFAqh2b2mJj8WtVR5/oX81wu eYKAcxbqFvFT5H8Rb2wVewmG8/Ll20BCgiZU4JCgYj3DLJY6blZCM5A2lvZvgrYm8mnp Mhi9jRDXQcj/a2yiWs3dIVcL4vwJmlVCnz+M0k++VPec32l7Rj/DjIodrT5IxJSVL2Nt xTpdPP7k5H34kLvrm5UL7VXYBmDmRY/T4MkxjSuQyi5N/r2HdZuKl6fz6WJ/03kaA874 VcAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FqQfr1BX/Vyk7/MTTBl/AV/wcIuejYwxyWbUdll3AI0=; fh=hNC0J1pOLXXfdGp4RomvQBXTd/Jsrtc4yPCitT0v4cg=; b=Rrkco6ekN+h7QsEUEqIwB0xdl4SWezglhOqC4rH18vQRFh4PUvLsy0bLjUmx7rz/+n 926Y4k3m1TKYxrxjVk1jsvHlkOcDEHuBXPeJd55ak5aA/pXlSyRk0QmKgN87jhqQeZSU SivfR6L3VUGk3zNzbxVHTva33NEt+qHe5c1aypop2s2QHdBnP84HJ+CgDosTDh2Z7OfM Z9guUEsiZrE/EKE2Hzo0UiudAQ8ik4DiJtKYGMKRCFwZ1PXnYVh7mwOHuLvQUHE3b/Tf RGH3+JYGBuBdS6eshWEwxVvtCZ4Ks1wasVYQ1qjsg2K/rdkaMKUJcfc6DMttSt/EG9M/ ievg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=1jxPqcrx; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-104376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iw6-20020a0562140f2600b0068cbf78a4aasi2777282qvb.310.2024.03.15.05.01.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 05:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=1jxPqcrx; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-104376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B20331C21935 for ; Fri, 15 Mar 2024 12:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0DA91C28B; Fri, 15 Mar 2024 12:01:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="1jxPqcrx" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 BBBCC635 for ; Fri, 15 Mar 2024 12:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710504066; cv=none; b=tQBUjtyQKxtsA03afgNI8auY03LFw/l/SrHGvZDBbO6J6PDWCujJ/WeeLRtruo01xOr7dTm11T9MvIWrbEoqbCK7PYNxYAtn+MGQZM3Vq30hZsWLUwO1lSd/YYrSCX7PSLkkCLfRN4EBaAXNAn2SdvNxW8XnikYL3C3Ay+e937M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710504066; c=relaxed/simple; bh=wo5KaJTO7g4XTsjvDT5W1hhUtD1zGfjPtDK9XkU/fsw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Bm3RJGvRs/0LLr/D01SY9xsr1orzjtwKKrZ2YjKMOCEZBLNTeZhm8FpeFpz7j8aOOulLV7OtZlDfld1T42CyUZCtJvHSXFgZNTJUQsr6scbvfZiTRPkNZdgYumfMEp2X6rzKMOPWJL0y6+8FhavqdePjY96WV+AbOIuZZpJuQ4g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=1jxPqcrx; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1710504059; bh=wo5KaJTO7g4XTsjvDT5W1hhUtD1zGfjPtDK9XkU/fsw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=1jxPqcrx/ox/m1AOEkf/cnIgOag7fS4EFgxhaRQR6tv37YpNkhmjwMdziiVEDa5Ii RNa47ceM168TpFQcoHUTRQsLKpALlajcmXvRzc3Aw6eyITrsBKbWXLiIS7XmVwchyD h5lL1gNiFConcL3rmgtDIyYiVK6Hc82QbbabKl1p1QQnWDyh/PcK2+4k9dGRIziPs/ rhPXT6O2yWCSelSqW+RmWE/S9PbgExcDvLe0LyzkQ2OUNEKrRDltU0nCcQ724VDc9W hnpyxuJitqatKY1oiW2YO9yXCgvwSlEH269TMeWB26+lPF9wKOwdYMIzVLOQ1YhbCX vi5pfjpYCvEEA== Received: from [100.95.196.25] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: koike) by madrid.collaboradmins.com (Postfix) with ESMTPSA id D3E8A378105A; Fri, 15 Mar 2024 12:00:53 +0000 (UTC) Message-ID: <00b4af3b-bbb6-4057-969f-5882220858a3@collabora.com> Date: Fri, 15 Mar 2024 09:00:50 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 03/11] drm/ci: uprev IGT and update testlist To: Vignesh Raman , dri-devel@lists.freedesktop.org Cc: daniels@collabora.com, airlied@gmail.com, daniel@ffwll.ch, emma@anholt.net, robdclark@gmail.com, david.heidelberg@collabora.com, guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, hamohammed.sa@gmail.com, rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com, mairacanal@riseup.net, mcanal@igalia.com, linux-mediatek@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240306030649.60269-1-vignesh.raman@collabora.com> <20240306030649.60269-4-vignesh.raman@collabora.com> <4f927c99-9ea2-424e-85a7-bd05d0817dab@collabora.com> Content-Language: en-US From: Helen Koike In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 15/03/2024 08:12, Vignesh Raman wrote: > Hi Helen, > > On 07/03/24 19:05, Helen Koike wrote: >> >> >> On 06/03/2024 00:06, Vignesh Raman wrote: >>> Uprev IGT and add amd, v3d, vc4 and vgem specific >>> tests to testlist. Have testlist.txt per driver >>> and include a base testlist so that the driver >>> specific tests will run only on those hardware. >>> Also add testlists to the MAINTAINERS file. >>> >>> Signed-off-by: Vignesh Raman >>> --- >>> >>> v3: >>>    - New patch in series to uprev IGT and update testlist. >>> >>> v4: >>>    - Add testlists to the MAINTAINERS file and remove amdgpu xfails >>> changes. >>> >>> --- >>>   MAINTAINERS                              |  11 ++ >>>   drivers/gpu/drm/ci/gitlab-ci.yml         |   2 +- >>>   drivers/gpu/drm/ci/igt_runner.sh         |  12 +- >>>   drivers/gpu/drm/ci/testlist-amdgpu.txt   | 151 +++++++++++++++++++++++ >>>   drivers/gpu/drm/ci/testlist-msm.txt      |  50 ++++++++ >>>   drivers/gpu/drm/ci/testlist-panfrost.txt |  17 +++ >>>   drivers/gpu/drm/ci/testlist-v3d.txt      |  73 +++++++++++ >>>   drivers/gpu/drm/ci/testlist-vc4.txt      |  49 ++++++++ >>>   drivers/gpu/drm/ci/testlist.txt          |  84 ++++++------- >>>   9 files changed, 398 insertions(+), 51 deletions(-) >>>   create mode 100644 drivers/gpu/drm/ci/testlist-amdgpu.txt >>>   create mode 100644 drivers/gpu/drm/ci/testlist-msm.txt >>>   create mode 100644 drivers/gpu/drm/ci/testlist-panfrost.txt >>>   create mode 100644 drivers/gpu/drm/ci/testlist-v3d.txt >>>   create mode 100644 drivers/gpu/drm/ci/testlist-vc4.txt >>> >>> diff --git a/MAINTAINERS b/MAINTAINERS >>> index 3bc7e122a094..4da66ca92f1a 100644 >>> --- a/MAINTAINERS >>> +++ b/MAINTAINERS >>> @@ -1665,6 +1665,8 @@ L:    dri-devel@lists.freedesktop.org >>>   S:    Supported >>>   T:    git git://anongit.freedesktop.org/drm/drm-misc >>>   F:    Documentation/gpu/panfrost.rst >>> +F:    drivers/gpu/drm/ci/testlist-panfrost.txt >>> +F:    drivers/gpu/drm/ci/testlist.txt >> >> I wonder if we should have both here, since the second is not used right? > > Yes, we need to use both here. testlist-panfrost.txt includes > testlist.txt. So we have moved the driver specific tests to > testlist-panfrost.txt and have a base testlist.txt. > > >>> diff --git a/drivers/gpu/drm/ci/igt_runner.sh >>> b/drivers/gpu/drm/ci/igt_runner.sh >>> index f1a08b9b146f..77cd81fe6d1a 100755 >>> --- a/drivers/gpu/drm/ci/igt_runner.sh >>> +++ b/drivers/gpu/drm/ci/igt_runner.sh >>> @@ -74,10 +74,20 @@ if ! grep -q "core_getversion" >>> /install/testlist.txt; then >>>   fi >>>   set +e >>> +if [ "$DRIVER_NAME" = "amdgpu" ]; then >>> +    TEST_LIST="/install/testlist-amdgpu.txt" >>> +elif [ "$DRIVER_NAME" = "msm" ]; then >>> +    TEST_LIST="/install/testlist-msm.txt" >>> +elif [ "$DRIVER_NAME" = "panfrost" ]; then >>> +    TEST_LIST="/install/testlist-panfrost.txt" >>> +else >>> +    TEST_LIST="/install/testlist.txt" >>> +fi >> >> Maybe simplify this with: >> >> TEST_LIST="/install/testlist-$DRIVER_NAME.txt" >> >> if [ ! -f "$TEST_LIST" ]; then >>      TEST_LIST="/install/testlist.txt" >> fi > > Yes, this is much better. Thanks. > >> >> Another question I have: shouldn't testlist-$DRIVER_NAME.txt and >> testlist.txt be merged? Or they are really mutually exclusive? > > We have testlist-$DRIVER_NAME.txt per driver and it includes a base > testlist.txt I'm confused, it seems that from the code or it uses testlist-$DRIVER_NAME.txt or it uses testlist.txt, you don't merge them by code, which means that drivers don't need to follow changes to testlist.txt. If testlist-$DRIVER_NAME.txt already includes tests in testlist.txt, than testlist.txt doesn't need to be added in the MAINTEINERS file in all drivers. Helen > > Regards, > Vignesh