Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp397965rdd; Tue, 9 Jan 2024 07:31:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiRmf3UepbJ43nfcy7QqxsbM33yaIzaepqEOLNGWZnBnhKsUkJ6XQSYIijI5SjN6j7UjFs X-Received: by 2002:a05:6a20:7288:b0:199:f358:d4dd with SMTP id o8-20020a056a20728800b00199f358d4ddmr831390pzk.73.1704814290945; Tue, 09 Jan 2024 07:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704814290; cv=none; d=google.com; s=arc-20160816; b=eZAo72DnKDeh4rT4OWhcFtJCTZnjM5jdoOBFBpMiewiE5MNaBT00qG4Y3xUgtozJhO JrUStujfnHKdV/Nzw59ysd2AIC7XxvCztd9vHj9D3HRB2batcq3X2PudJcPt1JFRPOvs zMOEiXbYNhDP5ntf1q2br2i0pbEGD61G0NWLB0r0JCZwinwW3FKNM2IXUg/XyuuGrr8u +haxAj5nn2gxkImxk3DTeNDxPlDzoQ7wWELzLa3ViJF3HLIok/DPdy+mzBrC/DM29rMB HarPyJgWS2RgHN6gfV9tVYwg7tblVLg76hb5XFKOEZTi03LQJV7qS1gGr5hZmxk6xPG4 ETcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PxBXHYFAM9hT0OPdpUiDaQH1QeZpaAp07NJ8WhXUbqI=; fh=S9MLVUHlLBjRwSwmlMDDmEbQzCw0xb41rHoa/9mBdUo=; b=t7txYvuUVlwKyMk+RBkD+jo8Kuvj/QFYct+CiMXma0/3j0eFc2gAXOoXBMLGwqPnnI EP0J2swk/LiOWUfJWSoW8Y7DH3rN6FQ54qsPqJz+zUGA/NFWfABGt5FBs48M4yxiNNIY FMDJxh+bkZNHydbOsAl13arTe1/HLLMTJIGfVvh/hb8H0zG5qYxoWmrqcsvuoXzLGhpR qwW84nwaIF6DG9I+OtTWk8cysidsdxfQoHzYp2uzOhRpdDDusrdFo2e0Nc8SY3oPWeto KJt4L1J6sqPp+itvT/9qix3Qb2x/ZKlGJaAKm1pYwplwPikIcDQtxMBsocg1zAxi+bYt mPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S3Xc8aoZ; spf=pass (google.com: domain of linux-kernel+bounces-21049-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l8-20020a633e08000000b005c65f924f6csi1552457pga.319.2024.01.09.07.31.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 07:31:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21049-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=@gmail.com header.s=20230601 header.b=S3Xc8aoZ; spf=pass (google.com: domain of linux-kernel+bounces-21049-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 83E98287E7D for ; Tue, 9 Jan 2024 15:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 414E439FE7; Tue, 9 Jan 2024 15:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S3Xc8aoZ" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 087E639AD5; Tue, 9 Jan 2024 15:31:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-55719cdc0e1so3483532a12.1; Tue, 09 Jan 2024 07:31:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704814278; x=1705419078; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PxBXHYFAM9hT0OPdpUiDaQH1QeZpaAp07NJ8WhXUbqI=; b=S3Xc8aoZZNpHFSldBJefvBVkUBMCWa1y1yNNxYeQfE/hUmWGHbTD2ku90TH4hlBSGS MHpbsGqSpmCHSx4N2HUahJIECbhLpomd/0bi5Y9sm/U4VnIFKtEMDqTGGZE3Vostbyay eJxiutr/VFyseKU7P1z4zNghyZQ3keje+7IJiiDigjHhwdkCRyZ8HK/SZU3996ItEot2 T1pPFhGyv1hapcP2MmmJkaLswayG4LI4UapJE3zW2J83ZeEMN0h2IWSI97XVtguovW4c zfybgEAwOALh0539GMt8gkGgGupbG35nk0rItkoO3pqXn/s9Gmp349/TayScHmVMzKkD rk4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704814278; x=1705419078; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PxBXHYFAM9hT0OPdpUiDaQH1QeZpaAp07NJ8WhXUbqI=; b=o5URns1UxysY2Whxo8et7vIQj07aZ0pUe/0Ik7bgvtztyEgh7fUfC2sryuXacD2H15 Re0U16r6TQ4aF0PW00fiqVjugTHs6vrJ1oBXQXGUyXVeGmaOkbCtroPkGqidbdnkvKnc amUcL1BCDRJA3KuL0TFNWe1a7Lfei6b3nE7lxKS+1+S9/Uahw7Aj2IUTwt+OTF7xdDbg CoyXmQhclap2Odwzw2sQVx99KoUlY3H4XZJVMFkQBmefl66RTUM9n2tMDRGNmrZPSs9Y iE7mj683/bvEu+5CTowXi96/lUUwO/8NtA9UlR98mKpUHV8ZQ64xb3eA3m5btmpRdRlc 3Qvg== X-Gm-Message-State: AOJu0YxrMN06fERUH6ynVMYyegbSjIneUNTTNVwwyd1MYyBIePJ4Pdy9 FrnCzprlUinNuu1R1RlzPpOdwj5qluRTOaCohro= X-Received: by 2002:a50:934a:0:b0:557:375e:6dfa with SMTP id n10-20020a50934a000000b00557375e6dfamr3382250eda.13.1704814278180; Tue, 09 Jan 2024 07:31:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240108195016.156583-1-robdclark@gmail.com> <454873e5-1b5a-28d3-ffed-c1e502898d17@quicinc.com> In-Reply-To: From: Rob Clark Date: Tue, 9 Jan 2024 07:31:06 -0800 Message-ID: Subject: Re: [PATCH] drm/ci: Add msm tests To: Abhinav Kumar Cc: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Helen Koike , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 8, 2024 at 6:13=E2=80=AFPM Rob Clark wrot= e: > > On Mon, Jan 8, 2024 at 2:58=E2=80=AFPM Abhinav Kumar wrote: > > > > > > > > On 1/8/2024 11:50 AM, Rob Clark wrote: > > > From: Rob Clark > > > > > > The msm tests should skip on non-msm hw, so I think it should be safe= to > > > enable everywhere. > > > > > > Signed-off-by: Rob Clark > > > --- > > > drivers/gpu/drm/ci/testlist.txt | 49 ++++++++++++++++++++++++++++++= +++ > > > 1 file changed, 49 insertions(+) > > > > > > > I do see that all these tests use igt_msm_dev_open() to make sure it > > opens only the MSM card. > > > > But if igt_msm_dev_open() fails, I dont see a igt_require() on some of > > the tests to skip them. So how will it safely skip on non-msm HW? > > > > Unless i am missing something here .... > > hmm, at the time I added the initial msm tests, and > igt_msm_dev_open(), I verified that they skipped on intel.. but since > then I'd switched from intel to sc8280xp device for primary dev > device, so I'd need to re-test to remember how it works. If these > aren't skipping on !msm, it is a bug I double checked, these tests skip in drm_open_driver() with "No known gpu found for chipset flags 0x64 (msm)", so no problem to run them on all CI runners. BR, -R > BR, > -R > > > > diff --git a/drivers/gpu/drm/ci/testlist.txt b/drivers/gpu/drm/ci/tes= tlist.txt > > > index f82cd90372f4..eaeb751bb0ad 100644 > > > --- a/drivers/gpu/drm/ci/testlist.txt > > > +++ b/drivers/gpu/drm/ci/testlist.txt > > > @@ -2910,3 +2910,52 @@ kms_writeback@writeback-invalid-parameters > > > kms_writeback@writeback-fb-id > > > kms_writeback@writeback-check-output > > > prime_mmap_kms@buffer-sharing > > > +msm_shrink@copy-gpu-sanitycheck-8 > > > +msm_shrink@copy-gpu-sanitycheck-32 > > > +msm_shrink@copy-gpu-8 > > > +msm_shrink@copy-gpu-32 > > > +msm_shrink@copy-gpu-madvise-8 > > > +msm_shrink@copy-gpu-madvise-32 > > > +msm_shrink@copy-gpu-oom-8 > > > +msm_shrink@copy-gpu-oom-32 > > > +msm_shrink@copy-mmap-sanitycheck-8 > > > +msm_shrink@copy-mmap-sanitycheck-32 > > > +msm_shrink@copy-mmap-8 > > > +msm_shrink@copy-mmap-32 > > > +msm_shrink@copy-mmap-madvise-8 > > > +msm_shrink@copy-mmap-madvise-32 > > > +msm_shrink@copy-mmap-oom-8 > > > +msm_shrink@copy-mmap-oom-32 > > > +msm_shrink@copy-mmap-dmabuf-sanitycheck-8 > > > +msm_shrink@copy-mmap-dmabuf-sanitycheck-32 > > > +msm_shrink@copy-mmap-dmabuf-8 > > > +msm_shrink@copy-mmap-dmabuf-32 > > > +msm_shrink@copy-mmap-dmabuf-madvise-8 > > > +msm_shrink@copy-mmap-dmabuf-madvise-32 > > > +msm_shrink@copy-mmap-dmabuf-oom-8 > > > +msm_shrink@copy-mmap-dmabuf-oom-32 > > > +msm_mapping@ring > > > +msm_mapping@sqefw > > > +msm_mapping@shadow > > > +msm_submitoverhead@submitbench-10-bos > > > +msm_submitoverhead@submitbench-10-bos-no-implicit-sync > > > +msm_submitoverhead@submitbench-100-bos > > > +msm_submitoverhead@submitbench-100-bos-no-implicit-sync > > > +msm_submitoverhead@submitbench-250-bos > > > +msm_submitoverhead@submitbench-250-bos-no-implicit-sync > > > +msm_submitoverhead@submitbench-500-bos > > > +msm_submitoverhead@submitbench-500-bos-no-implicit-sync > > > +msm_submitoverhead@submitbench-1000-bos > > > +msm_submitoverhead@submitbench-1000-bos-no-implicit-sync > > > +msm_recovery@hangcheck > > > +msm_recovery@gpu-fault > > > +msm_recovery@gpu-fault-parallel > > > +msm_recovery@iova-fault > > > +msm_submit@empty-submit > > > +msm_submit@invalid-queue-submit > > > +msm_submit@invalid-flags-submit > > > +msm_submit@invalid-in-fence-submit > > > +msm_submit@invalid-duplicate-bo-submit > > > +msm_submit@invalid-cmd-idx-submit > > > +msm_submit@invalid-cmd-type-submit > > > +msm_submit@valid-submit