From: Helen Koike <helen.koike@collabora.com>
To: Vignesh Raman <vignesh.raman@collabora.com>,
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
Subject: Re: [PATCH v4 03/11] drm/ci: uprev IGT and update testlist
Date: Fri, 15 Mar 2024 09:00:50 -0300 [thread overview]
Message-ID: <00b4af3b-bbb6-4057-969f-5882220858a3@collabora.com> (raw)
In-Reply-To: <af5b6e38-306d-ae79-42af-88e6e9a32cff@collabora.com>
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 <vignesh.raman@collabora.com>
>>> ---
>>>
>>> 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
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2024-03-15 12:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 3:06 [PATCH v4 00/11] drm/ci: Add support for GPU and display testing Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 01/11] drm/ci: arm64.config: Enable CONFIG_DRM_ANALOGIX_ANX7625 Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 02/11] drm/ci: uprev mesa version Vignesh Raman
2024-03-07 13:35 ` Helen Koike
2024-03-06 3:06 ` [PATCH v4 03/11] drm/ci: uprev IGT and update testlist Vignesh Raman
2024-03-07 13:35 ` Helen Koike
2024-03-15 11:12 ` Vignesh Raman
2024-03-15 12:00 ` Helen Koike [this message]
[not found] ` <CAA8EJpo=OXUitC+NPjZd5Kpq9dF04BSffvgsMYnn7LmmEoh09A@mail.gmail.com>
2024-03-18 14:48 ` Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 04/11] drm/ci: amdgpu: update xfails Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 05/11] drm/ci: mediatek: Refactor existing mediatek jobs Vignesh Raman
2024-03-07 14:02 ` Helen Koike
2024-03-15 11:15 ` Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 06/11] drm/ci: mediatek: Add job to test panfrost and powervr GPU driver Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 07/11] drm/ci: meson: Refactor existing meson jobs Vignesh Raman
2024-03-07 14:02 ` Helen Koike
2024-03-06 3:06 ` [PATCH v4 08/11] drm/ci: meson: Add job to test panfrost GPU driver Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 09/11] drm/ci: rockchip: Refactor existing rockchip jobs Vignesh Raman
2024-03-07 14:02 ` Helen Koike
2024-03-15 11:18 ` Vignesh Raman
2024-03-15 12:02 ` Helen Koike
2024-03-06 3:06 ` [PATCH v4 10/11] drm/ci: rockchip: Add job to test panfrost GPU driver Vignesh Raman
2024-03-06 3:06 ` [PATCH v4 11/11] drm/ci: add tests on vkms Vignesh Raman
2024-03-07 14:02 ` [PATCH v4 00/11] drm/ci: Add support for GPU and display testing Helen Koike
2024-03-15 11:23 ` Vignesh Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=00b4af3b-bbb6-4057-969f-5882220858a3@collabora.com \
--to=helen.koike@collabora.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=daniels@collabora.com \
--cc=david.heidelberg@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=guilherme.gallo@collabora.com \
--cc=hamohammed.sa@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mairacanal@riseup.net \
--cc=mcanal@igalia.com \
--cc=melissa.srw@gmail.com \
--cc=robdclark@gmail.com \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=sergi.blanch.torne@collabora.com \
--cc=vignesh.raman@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox