Message ID | 20231220121110.1441160-1-vignesh.raman@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-6866-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2590350dyi; Wed, 20 Dec 2023 04:11:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSQtmh81f8uUL7jpGfupQQqBa9YxkxxeljqWUy9hzGwws/87dY+pRv1PnMPMyb+7ETfLRZ X-Received: by 2002:a05:6214:21ad:b0:67f:11eb:ac49 with SMTP id t13-20020a05621421ad00b0067f11ebac49mr14088991qvc.116.1703074309752; Wed, 20 Dec 2023 04:11:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703074309; cv=none; d=google.com; s=arc-20160816; b=1DeMvNnlBlRPNLOoTYtoUDqGtvcWBT6azAK3vWPor9K+0Vgx5jz/ixRRxpPjaPPnM7 VtaAqHdTLqavDLG69s+NI+3zlQd+GGEGsf+iSROPyngyUyUOUo2XLmQa1whnBUHCXh2l RXtYp7B/14eJ+RRuDRUS1RYBTfhEgB7p5FiArxOrKMJxJLlVXe+fZCyvm3Tv53xCdGCB PyUtVFiVqphdBfdNbh4ArUlDIK6l8veTbzqSq6HAqIPjCjYAOrB8R2y4qj0Jg5ibyRzl yCuDWSkJ+zoPStZAm9xl3bRzMV4B2zUn+sHBWzPlkMXPxqi4HSe4Mh5oDV60MWDYsn0U Gf0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3NTsLxd0KE7Y0lJ7wSzWNGCAn00AzxNfH6qzzFKce40=; fh=rvgcD9BS9paPGQO1izUFPtMLbIBHxwjpNyJAnf9Ho+s=; b=WgEib4+G3C88L1QluPAg3a3afDBHI//HP9e/rrnm/qdKVzQZUnvRGfg4RJ/V3C0H4Y 1nO/1QXOSXbxhc5DuMjrvbkINsdMto5OxfDffb1pivGVutNdpEzkO5hTUIDLQUe8245r tI7YsoeBWvW71jSYwEiKsWr9hrokRyJ0/clf++X3MciuGwxg+DkHRT2Ab73cSZrkTebD pJ1chs3DX2M5L4N52J+NTvMQu/u98O6E1XayfDt4T/4L3phPnRj0LJRrEFCM2y4MwLIA 4v2BL0jQigLmF7aUcx8UVKCrujFmN68dWTdZNpaUOZI+bL9uwx4V/NiJO1BvjmhPqT+8 LATQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EvcVbVMW; spf=pass (google.com: domain of linux-kernel+bounces-6866-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6866-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r6-20020a05620a298600b0077f69d78dd7si24520244qkp.479.2023.12.20.04.11.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 04:11:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6866-ouuuleilei=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=EvcVbVMW; spf=pass (google.com: domain of linux-kernel+bounces-6866-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6866-ouuuleilei=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 8697A1C22314 for <ouuuleilei@gmail.com>; Wed, 20 Dec 2023 12:11:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 013812232D; Wed, 20 Dec 2023 12:11:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="EvcVbVMW" X-Original-To: linux-kernel@vger.kernel.org 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 B137D22303 for <linux-kernel@vger.kernel.org>; Wed, 20 Dec 2023 12:11:32 +0000 (UTC) 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=1703074290; bh=+josEhuJGZUwIjK128hAQWpYf0mrcfPybBEAagNclmI=; h=From:To:Cc:Subject:Date:From; b=EvcVbVMWlwNXOErBeYWIsdzjdB0YsnlTkWIZtpas9p0ovFLiljNyZm3NajqSCFMJC s9wqXrwikzH/T6hCko36Eu9zOSz3L1/Nz2AVc5T2QU61m8vC5ClXzH3Gukuzt6cngC x6CRvSxmuuyX6adJldss3c+LYk4LpPZI3X8UBKtlBMUWNQCtlsBb8kq9QWK4x3vXpb NnvOblR/NYoCj2WH8a2si0v/lWxwvx71/NMw8uAMJt9juUPfCbgFF/F0Sc9ExWGUwn ivohO2NPXyasfd6NhyFXRE+FXACvF1vXLdht3tzJfVQ3Ay8oCPqB7XHFJseVgUwV2m NxUPfopUNpNMg== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madrid.collaboradmins.com (Postfix) with ESMTPSA id C35443781FD5; Wed, 20 Dec 2023 12:11:25 +0000 (UTC) From: Vignesh Raman <vignesh.raman@collabora.com> To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch, daniels@collabora.com Cc: david.heidelberg@collabora.com, guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/8] drm/ci: Add support for GPU and display testing Date: Wed, 20 Dec 2023 17:41:02 +0530 Message-Id: <20231220121110.1441160-1-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785802847764137831 X-GMAIL-MSGID: 1785802847764137831 |
Series |
drm/ci: Add support for GPU and display testing
|
|
Message
Vignesh Raman
Dec. 20, 2023, 12:11 p.m. UTC
Some ARM SOCs have a separate display controller and GPU, each with different drivers. For mediatek mt8173, the GPU driver is powervr, and the display driver is mediatek. In the case of mediatek mt8183, the GPU driver is panfrost, and the display driver is mediatek. With rockchip rk3288/rk3399, the GPU driver is panfrost, while the display driver is rockchip. For amlogic meson, the GPU driver is panfrost, and the display driver is meson. IGT tests run various tests with different xfails and can test both GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. This leads to incomplete coverage since the display is never tested on these platforms. This commit series adds support in drm-ci to run tests for both GPU and display drivers for MediaTek, Rockchip, and Amlogic Meson platforms. This series depends on, https://lore.kernel.org/dri-devel/e747581b-d5e0-4622-827b-48fb51fa9711@collabora.com/T/#t Vignesh Raman (8): drm/ci: arm64.config: Enable CONFIG_DRM_ANALOGIX_ANX7625 drm/ci: mediatek: Test both GPU and display drivers drm/ci: rockchip: Test both GPU and display drivers drm/ci: meson: Test both GPU and display drivers drm/ci: Do not set IGT_FORCE_DRIVER based on driver name MAINTAINERS: drm/ci: xfails: add entry for panfrost drm/ci: Rename xfails file drm/ci: Update xfails MAINTAINERS | 1 + drivers/gpu/drm/ci/arm64.config | 1 + drivers/gpu/drm/ci/igt_runner.sh | 10 -- drivers/gpu/drm/ci/test.yml | 107 ++++++++++++++---- ....txt => mediatek-mt8173-display-fails.txt} | 0 .../xfails/mediatek-mt8173-display-flakes.txt | 13 +++ .../xfails/mediatek-mt8183-display-fails.txt | 7 ++ .../xfails/mediatek-mt8183-display-flakes.txt | 8 ++ .../ci/xfails/meson-g12b-display-fails.txt | 13 +++ ...-fails.txt => panfrost-g12b-gpu-fails.txt} | 0 ...ails.txt => panfrost-mt8183-gpu-fails.txt} | 0 ...ails.txt => panfrost-rk3288-gpu-fails.txt} | 0 ...kips.txt => panfrost-rk3288-gpu-skips.txt} | 0 ...ails.txt => panfrost-rk3399-gpu-fails.txt} | 0 ...kes.txt => panfrost-rk3399-gpu-flakes.txt} | 0 ...kips.txt => panfrost-rk3399-gpu-skips.txt} | 0 .../xfails/rockchip-rk3288-display-fails.txt | 15 +++ .../xfails/rockchip-rk3288-display-flakes.txt | 13 +++ .../xfails/rockchip-rk3288-display-skips.txt | 8 ++ .../xfails/rockchip-rk3399-display-fails.txt | 69 +++++++++++ .../xfails/rockchip-rk3399-display-flakes.txt | 20 ++++ .../xfails/rockchip-rk3399-display-skips.txt | 6 + 22 files changed, 261 insertions(+), 30 deletions(-) rename drivers/gpu/drm/ci/xfails/{mediatek-mt8173-fails.txt => mediatek-mt8173-display-fails.txt} (100%) create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8173-display-flakes.txt create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-display-fails.txt create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-display-flakes.txt create mode 100644 drivers/gpu/drm/ci/xfails/meson-g12b-display-fails.txt rename drivers/gpu/drm/ci/xfails/{meson-g12b-fails.txt => panfrost-g12b-gpu-fails.txt} (100%) rename drivers/gpu/drm/ci/xfails/{mediatek-mt8183-fails.txt => panfrost-mt8183-gpu-fails.txt} (100%) rename drivers/gpu/drm/ci/xfails/{rockchip-rk3288-fails.txt => panfrost-rk3288-gpu-fails.txt} (100%) rename drivers/gpu/drm/ci/xfails/{rockchip-rk3288-skips.txt => panfrost-rk3288-gpu-skips.txt} (100%) rename drivers/gpu/drm/ci/xfails/{rockchip-rk3399-fails.txt => panfrost-rk3399-gpu-fails.txt} (100%) rename drivers/gpu/drm/ci/xfails/{rockchip-rk3399-flakes.txt => panfrost-rk3399-gpu-flakes.txt} (100%) rename drivers/gpu/drm/ci/xfails/{rockchip-rk3399-skips.txt => panfrost-rk3399-gpu-skips.txt} (100%) create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-display-fails.txt create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-display-flakes.txt create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-display-skips.txt create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3399-display-fails.txt create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3399-display-flakes.txt create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3399-display-skips.txt
Comments
Hi, On Wed, 20 Dec 2023 at 12:11, Vignesh Raman <vignesh.raman@collabora.com> wrote: > Some ARM SOCs have a separate display controller and GPU, each with > different drivers. For mediatek mt8173, the GPU driver is powervr, > and the display driver is mediatek. In the case of mediatek mt8183, > the GPU driver is panfrost, and the display driver is mediatek. > With rockchip rk3288/rk3399, the GPU driver is panfrost, while the > display driver is rockchip. For amlogic meson, the GPU driver is > panfrost, and the display driver is meson. > > IGT tests run various tests with different xfails and can test both > GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, > Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. > This leads to incomplete coverage since the display is never tested on > these platforms. This commit series adds support in drm-ci to run tests > for both GPU and display drivers for MediaTek, Rockchip, and Amlogic > Meson platforms. Thanks a lot for these. The patches need to be squashed to be bisectable though. For example, patch #2 changes the MTK job names and adds more jobs, but the corresponding xfail updates only come in #7 and #8. This means we have a span of a few patches where we don't have useful test results. A better sequencing would be something like: 1. add ANX7625 config 2. refactor _existing_ MTK display jobs to use YAML includes, change the existing job name, and rename the existing xfail set, remove IGT_FORCE_DRIVER from the script since it's now set by the job 3. add MTK Panfrost+PVR GPU jobs with new xfails, add xfail entry to MAINTAINERS 4+5: same as 2+3 but for Amlogic 6+7: same as 2+3 but for Rockchip Then the separate rename/update xfail commits just disappear, as does the removal of IGT_FORCE_DRIVER, because it's just done incrementally as part of the commits which change the related functionality. It's extremely important that every change can work standalone, instead of introducing intermediate breakage which is only fixed in later commits in the series. Cheers, Daniel
Hi Daniel, On 09/01/24 19:08, Daniel Stone wrote: > Hi, > > On Wed, 20 Dec 2023 at 12:11, Vignesh Raman <vignesh.raman@collabora.com> wrote: >> Some ARM SOCs have a separate display controller and GPU, each with >> different drivers. For mediatek mt8173, the GPU driver is powervr, >> and the display driver is mediatek. In the case of mediatek mt8183, >> the GPU driver is panfrost, and the display driver is mediatek. >> With rockchip rk3288/rk3399, the GPU driver is panfrost, while the >> display driver is rockchip. For amlogic meson, the GPU driver is >> panfrost, and the display driver is meson. >> >> IGT tests run various tests with different xfails and can test both >> GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, >> Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. >> This leads to incomplete coverage since the display is never tested on >> these platforms. This commit series adds support in drm-ci to run tests >> for both GPU and display drivers for MediaTek, Rockchip, and Amlogic >> Meson platforms. > > Thanks a lot for these. The patches need to be squashed to be > bisectable though. For example, patch #2 changes the MTK job names and > adds more jobs, but the corresponding xfail updates only come in #7 > and #8. This means we have a span of a few patches where we don't have > useful test results. > > A better sequencing would be something like: > 1. add ANX7625 config > 2. refactor _existing_ MTK display jobs to use YAML includes, change > the existing job name, and rename the existing xfail set, remove > IGT_FORCE_DRIVER from the script since it's now set by the job > 3. add MTK Panfrost+PVR GPU jobs with new xfails, add xfail entry to > MAINTAINERS > 4+5: same as 2+3 but for Amlogic > 6+7: same as 2+3 but for Rockchip > > Then the separate rename/update xfail commits just disappear, as does > the removal of IGT_FORCE_DRIVER, because it's just done incrementally > as part of the commits which change the related functionality. It's > extremely important that every change can work standalone, instead of > introducing intermediate breakage which is only fixed in later commits > in the series. Thank you for reviewing the patches. I agree, will follow this sequence and send a v2 version. Regards, Vignesh
Hi Vignesh, On Wed, 10 Jan 2024 at 10:47, Vignesh Raman <vignesh.raman@collabora.com> wrote: > On 09/01/24 19:08, Daniel Stone wrote: > > A better sequencing would be something like: > > 1. add ANX7625 config > > 2. refactor _existing_ MTK display jobs to use YAML includes, change > > the existing job name, and rename the existing xfail set, remove > > IGT_FORCE_DRIVER from the script since it's now set by the job > > 3. add MTK Panfrost+PVR GPU jobs with new xfails, add xfail entry to > > MAINTAINERS > > 4+5: same as 2+3 but for Amlogic > > 6+7: same as 2+3 but for Rockchip > > > > Then the separate rename/update xfail commits just disappear, as does > > the removal of IGT_FORCE_DRIVER, because it's just done incrementally > > as part of the commits which change the related functionality. It's > > extremely important that every change can work standalone, instead of > > introducing intermediate breakage which is only fixed in later commits > > in the series. > > Thank you for reviewing the patches. I agree, will follow this sequence > and send a v2 version. Alongside Rob's patch to add msm-specific tests to the runlist, we'd need to add the Panfrost-specific tests. Whilst we're here, we might as well add the vc4/v3d/etnaviv/lima tests so they can use it in future. Panfrost should also skip kms_.* tests - since it's not a KMS driver, it can't run the KMS tests, so there's no point in trying. Cheers, Daniel
Hi Daniel, On 11/01/24 23:41, Daniel Stone wrote: > Hi Vignesh, > > On Wed, 10 Jan 2024 at 10:47, Vignesh Raman <vignesh.raman@collabora.com> wrote: >> On 09/01/24 19:08, Daniel Stone wrote: >>> A better sequencing would be something like: >>> 1. add ANX7625 config >>> 2. refactor _existing_ MTK display jobs to use YAML includes, change >>> the existing job name, and rename the existing xfail set, remove >>> IGT_FORCE_DRIVER from the script since it's now set by the job >>> 3. add MTK Panfrost+PVR GPU jobs with new xfails, add xfail entry to >>> MAINTAINERS >>> 4+5: same as 2+3 but for Amlogic >>> 6+7: same as 2+3 but for Rockchip >>> >>> Then the separate rename/update xfail commits just disappear, as does >>> the removal of IGT_FORCE_DRIVER, because it's just done incrementally >>> as part of the commits which change the related functionality. It's >>> extremely important that every change can work standalone, instead of >>> introducing intermediate breakage which is only fixed in later commits >>> in the series. >> >> Thank you for reviewing the patches. I agree, will follow this sequence >> and send a v2 version. > > Alongside Rob's patch to add msm-specific tests to the runlist, we'd > need to add the Panfrost-specific tests. Whilst we're here, we might > as well add the vc4/v3d/etnaviv/lima tests so they can use it in > future. > > Panfrost should also skip kms_.* tests - since it's not a KMS driver, > it can't run the KMS tests, so there's no point in trying. I will add these tests and update skips file. Sorry missed this before sending v2. I'm rechecking the xfails for the v2 series and will send v3 with these changes. Thanks. Regards, Vignesh