Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1559524lqz; Mon, 1 Apr 2024 09:43:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlgfBsrmTR6vQzLZON9sPhxyUpaAvb5hLuxxqzER2he+impquX8IsxEYaQ3CTuK8FesRRRO/qx85XpggJdudLH0o1MZVohzZU3YsNpiQ== X-Google-Smtp-Source: AGHT+IGncpO6unUZ8XqObhDVF5qi/ZpzSMBK8vZMEOMyiV/QOD8MJ/8FGeO64RMZBB0wpg3PnniK X-Received: by 2002:a17:902:c944:b0:1e2:2b67:aa80 with SMTP id i4-20020a170902c94400b001e22b67aa80mr12138984pla.6.1711989811175; Mon, 01 Apr 2024 09:43:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711989811; cv=pass; d=google.com; s=arc-20160816; b=rO0Ed6v640SRNQdu83l16rqaYBpFlywa96YU9bisESlB2q+XkdR6gPVdTux39aIfLF w7Sx4I3LMLWO7qto/3gGUKLVycq927fwEj8Irb5WEYL7OdKuvGvg7CKPTzBWoM4WTGPx lPbDn1JEYjHFacvFGzcfvJALAjXs6GR0HmoXz368l5VMqPSqvyeOeAdXtn2w3jXUCi0u WVE8Y8UtdXBlJMc/t/I34KZuWuUdO1fktzUvPVo8kA6Q0EbfxLlif+dn6MBxmkTfl9bU L4Y7ZupT7XzwM34a+cduCuL/bAWy+kx4scVyOmqhy4oYFE0hni3Vk3mk5iEzjZEkw5io v4Qg== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UNw/kyvVLVqiZV2hPY+iepGA3hJek1DWNHJMC0b2sjg=; fh=hNC0J1pOLXXfdGp4RomvQBXTd/Jsrtc4yPCitT0v4cg=; b=V5FVo5LPcBh4IaY2z3jDZBkFOZzuUvq8LNtFPySWapYQUsatUxz+sCu44ntXxD29/L DjgfV3aH22tolOsFqeFcWD3BNwJo96q5XMIkrGucSObMfi3VLpJjOEY5IDtd1r7e3S2c E1HwTzoOWqe5Ya2CWNYh1U1fAQAUy+XI063JVsGn2rg6HX6G1siJMdUOdJKj/FfJN2Dn Ag3PkjSpyPjdL2iHCueBE8lCr8XM0v/9YjVKLhSMxZN6EN0ghfYCQ2E7VlZ3g8OVmqlK UQtRE5+ryHtqlieQwhJ20fS0QbHNzhilsLx6o+4JY4RKiW7ZaEzwf8+3ick8CyWcpjCg zXXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FLeMla2d; 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-126859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q8-20020a170902a3c800b001e0c54819a9si13980plb.165.2024.04.01.09.43.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 09:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FLeMla2d; 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-126859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126859-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F1767B2237A for ; Mon, 1 Apr 2024 16:42:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10F99481D0; Mon, 1 Apr 2024 16:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="FLeMla2d" 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 6C71363E for ; Mon, 1 Apr 2024 16:42:33 +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=1711989755; cv=none; b=PTKW+Kh2Lp6F+qk1G4Fs3S7MpGIlyrBigg60rRkK0xpZE3k1RL4XLl18HquLOxLCHfXtpLZNFi8rdlB8o3tuj+oK8aE4Mzn6hVlWseKOjuL7dagtm3/13is/EM88TRzY9qFLmgLEHWgcGiX9HaLSEQQOclAj14aPoYD9hb8NuQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711989755; c=relaxed/simple; bh=GXcuHIR2aLO/M7Ecmuh2cNcHg4o55p5/3iz9GsdEEuA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mI+qsaLRbuZ0dVnKAXhGVKRwFJvzcBPmviUfHaajOiWCAmaPFBQECi0KdIKtsP7waIvizkcuegP1a4AKx8Q09pF0/Fw1jQIiqcE1l/QCQQddbJ2R2AFJDhX1tgHg9tL5dqMtdmpAN0jtd4qjZfRh81iTiz6XhShpnbgLpEen4qs= 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=FLeMla2d; 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=1711989751; bh=GXcuHIR2aLO/M7Ecmuh2cNcHg4o55p5/3iz9GsdEEuA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FLeMla2dhSGBer1eeLDew6OlcTAsszh3tTYKvpleLNILDUQoXtl2CCAoyTEY/59MW VfE4OZa4qUH8+65sx1T436lSXsIFO4KYJ5w9ArWaTL3JyvkFn/BNlH6Ri8ZpXHX9US VCchsAC4WBt4lPajc9TWGshXpGbuyMlZH56IYIVTSfcYiTQxL8xOXHt55hzSLswC2K KsRsyld2ECMGlET09CYQlQGnv1/IagkVuRT2KvDchf8yQv6xofFzfV00vQouUCk88X NgUvvVgLs+gsuPy3gkeACyfNbLAMMZUstaUnMVusSCoC7VNPQl+DZM8LolhJGrvkHH 67Ul2fNjclSJw== 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 61624378143B; Mon, 1 Apr 2024 16:42:26 +0000 (UTC) Message-ID: <7f958855-0be7-47d4-9b58-036646534217@collabora.com> Date: Mon, 1 Apr 2024 13:42:26 -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 v5 05/10] drm/ci: mediatek: Add job to test panfrost and powervr GPU driver Content-Language: en-US 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: <20240401061235.192713-1-vignesh.raman@collabora.com> <20240401061235.192713-6-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20240401061235.192713-6-vignesh.raman@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 01/04/2024 03:12, Vignesh Raman wrote: > For mediatek mt8173, the GPU driver is powervr and for mediatek > mt8183, the GPU driver is panfrost. So add support in drm-ci to > test panfrost and powervr GPU driver for mediatek SOCs and update > xfails. Powervr driver was merged in linux kernel, but there's no > mediatek support yet. So disable the mt8173-gpu job which uses > powervr driver. > > Add panfrost specific tests to testlist and skip KMS tests for > panfrost driver since it is not a not a KMS driver and skip > driver-specific tests. Also update the MAINTAINERS file to include > xfails for panfrost driver. > > Signed-off-by: Vignesh Raman > --- > > v2: > - Add panfrost and PVR GPU jobs for mediatek SOC with new xfails, add xfail > entry to MAINTAINERS. > > v3: > - Add panfrost specific tests to testlist and skip KMS tests for > panfrost driver since it is not a not a KMS driver and update xfails. > Update the MAINTAINERS file to include xfails for panfrost driver. > Add the job name in GPU_VERSION and use it for xfail file names instead > of using DRIVER_NAME. > > v4: > - Remove the gpu suffix in job and rename xfails accordingly. > Update the MAINTAINERS file to include xfails for panfrost driver. > > v5: > - Add powervr-gpu and panfrost-gpu jobs and skip driver-specific tests. > > --- > MAINTAINERS | 1 + > drivers/gpu/drm/ci/gitlab-ci.yml | 2 ++ > drivers/gpu/drm/ci/test.yml | 24 +++++++++++++++++++ > .../drm/ci/xfails/panfrost-mt8183-fails.txt | 1 + > .../drm/ci/xfails/panfrost-mt8183-skips.txt | 8 +++++++ > 5 files changed, 36 insertions(+) > create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt > create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt > > diff --git a/MAINTAINERS b/MAINTAINERS > index f7d0040a6c21..333704ceefb6 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS Note: We'll also need an entry in MAINTAINERS file for powervr (but it is fine to only add it once we have tests running on it). Acked-by: Helen Koike Thanks Helen > @@ -1666,6 +1666,7 @@ S: Supported > T: git git://anongit.freedesktop.org/drm/drm-misc > F: Documentation/gpu/panfrost.rst > F: drivers/gpu/drm/ci/testlist.txt > +F: drivers/gpu/drm/ci/xfails/panfrost* > F: drivers/gpu/drm/panfrost/ > F: include/uapi/drm/panfrost_drm.h > > diff --git a/drivers/gpu/drm/ci/gitlab-ci.yml b/drivers/gpu/drm/ci/gitlab-ci.yml > index d03d76692f0e..5b5d4a324659 100644 > --- a/drivers/gpu/drm/ci/gitlab-ci.yml > +++ b/drivers/gpu/drm/ci/gitlab-ci.yml > @@ -111,6 +111,8 @@ stages: > - meson > - msm > - rockchip > + - panfrost > + - powervr > - virtio-gpu > > # YAML anchors for rule conditions > diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml > index d8af670ee51d..adeb05bdb440 100644 > --- a/drivers/gpu/drm/ci/test.yml > +++ b/drivers/gpu/drm/ci/test.yml > @@ -292,6 +292,16 @@ amdgpu:stoney: > variables: > DRIVER_NAME: mediatek > > +.powervr-gpu: > + stage: powervr > + variables: > + DRIVER_NAME: powervr > + > +.panfrost-gpu: > + stage: panfrost > + variables: > + DRIVER_NAME: panfrost > + > .mt8173: > extends: > - .mediatek > @@ -315,11 +325,25 @@ mediatek:mt8173: > - .mt8173 > - .mediatek-display > > +powervr:mt8173: > + extends: > + - .mt8173 > + - .powervr-gpu > + rules: > + # TODO: powervr driver was merged in linux kernel, but there's no mediatek support yet > + # Remove the rule once mediatek support is added for powervr > + - when: never > + > mediatek:mt8183: > extends: > - .mt8183 > - .mediatek-display > > +panfrost:mt8183: > + extends: > + - .mt8183 > + - .panfrost-gpu > + > # drm-mtk doesn't even probe yet in mainline for mt8192 > .mediatek:mt8192: > extends: > diff --git a/drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt > new file mode 100644 > index 000000000000..6f5e760d5ec0 > --- /dev/null > +++ b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt > @@ -0,0 +1 @@ > +panfrost_prime@gem-prime-import,Fail > diff --git a/drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt > new file mode 100644 > index 000000000000..41a846a59644 > --- /dev/null > +++ b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt > @@ -0,0 +1,8 @@ > +# Panfrost is not a KMS driver, so skip the KMS tests > +kms_.* > + > +# Skip driver specific tests > +msm_.* > +^amdgpu.* > +v3d_.* > +vc4_.*