Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1254298lqz; Sun, 31 Mar 2024 23:14:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaItlFvihuom/o+/tKmyYQKJ3EfbnN5B1jAvsyjnSC0t7e6ge/DZsVm5OU0TIHUXCqXKSCuD/s0hO5YnueZW9Q3UlX9V8QbmsNtiTacA== X-Google-Smtp-Source: AGHT+IGtXm76BAYqfZCeHCxc9MhV3cmpHrPlcSVBnP7YEzGuDCGORlwnbCkQlpS9SRfwEO5t1pdy X-Received: by 2002:a19:f70d:0:b0:513:d884:7aac with SMTP id z13-20020a19f70d000000b00513d8847aacmr5476107lfe.21.1711952091463; Sun, 31 Mar 2024 23:14:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711952091; cv=pass; d=google.com; s=arc-20160816; b=0rLB9X8wfsv1cFM9EqQsU86ZgevwitnxFD4UqfLpWk3q3s8p97m8I6AIZ+gssxvtAM QDvIg6NycsE0xwHzGqbc58qRA0qtq+i7lML5DDhHGnQyTQPot3shUJhGIN5hmVNItg+A LsQ2oKHsQwCyM8/ew/WHxIyjQJVG2SPuibyzjN3mswjeQbu+jNH6wxYvOPgUThT6t+1r TrufHnIirLK5TTgGxqXY5am22zZt92mdxcqole04hnJPj0PFVl3RTIqmBqpJbrMF/H0m z+cE6eZ0ZOqplAoH8wdszBeiIoYnBcGYri7L6YrjbJOJ6JA4g/v+C2IgtURwFB81Mu3O EbOA== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5uRU+g+v6YaYs6XpTgzQurHx5FpL36IflqZzcDCDCv8=; fh=x+DDRgnDRWGAHnloqbnRQZTlBNxRYObcDrCT+AonGzA=; b=lpS/i+5i67G05QvIoasGEgxYuh+3ttT7auZFK2vvkAPFOT8N2LmZM0v92kQCOoJVzQ cRikWrYPz0ViMcO9f3ezTnt4lzqOPjUER0ZCYdb9rVnLK+tYVGdf+cn9tYH0zHvLLPHb OLVxkiPuSOcRtiW6A5+qNJj1l9SxKjT00uRHVAuOsRjMxuYBRC9YZauqo7ISssK+drkW Cgx8B5I9zXPXjn624NMb4sl4v+0h9QV+G8vFaJNlWl+nE3sl9d08wDNI71e7Qu9fpXLj EDKmvVkMOEnVuECwXCOHiuCESQO04eBrsHFv10/DD3q6H9QnqnKdAnnrDK2rshGQNi4f ycfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=nSSqVfnM; 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-126452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x22-20020a170906299600b00a4745ab9cb1si4132155eje.847.2024.03.31.23.14.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 23:14:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=nSSqVfnM; 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-126452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126452-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0733B1F212D3 for ; Mon, 1 Apr 2024 06:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D498FC05; Mon, 1 Apr 2024 06:13:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="nSSqVfnM" 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 D8158DDD9 for ; Mon, 1 Apr 2024 06:13:50 +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=1711952032; cv=none; b=Ny6g+ZLLdoPudQoJ7PlP1ybDtvmNXU5QQJACSpIXmonWIhkss8t3oqpUzcUS0z2bGBAHAU8l/U2bvTYEKNbmQ0saR4/PRXbkd5AWEmohINrUj9N/lIUOHiKw5kYo2msTfC+u5O8Wm6gzCxRlors5j7h373c2dgoMo9sPk2Rwitg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711952032; c=relaxed/simple; bh=YPFh5r4YCOP5qCk8b2dkDAc069IxTTGi4kUul2zGreU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BTCgBZwHCpEeh5Y2QpmWP7n0N01nO3hp8tY0PS5+zDj6P+OHxfUPmzTuIwn/ry/oww89+DF41bHyZ5NAZwgc0B6t/p2auO45O+N+a1it5Q3577eFIGtibfj9wUHADbSHBvDCoERzwJX+Wq/rzNtVM9+cEaxDJE/LhaMvx4sAYmo= 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=nSSqVfnM; 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=1711952029; bh=YPFh5r4YCOP5qCk8b2dkDAc069IxTTGi4kUul2zGreU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nSSqVfnMzvhRC5Azuqs8ZEgurD2JPGlTpUessQwp73FQOGWzg+pes5AeixV6kwpXH b3f/8YuLuPxgAuZ6vUT7ivFMrTsOgMRM5ArzqWaJ5oZMs2MmMMaqPIOmFqWj9MCcwE YnRhppE86sf3TxarAVoajfOnsuG9t21DPbrbvPnOPNtUb5roMfiSckLHANHeqb0FNF 7mV5N7/+jFz4GTtMu6kxcRIo8In9y07zjiU0+x8I9C4/5SRgvYAzXwCbQbNK/5x7w9 YJQJAfdyf07eFkUfcVLXSei4uGh1AxjN1Z8JxUnbgN4JJwWarxYT6ksFV8mi/MeM2L yh/37ubnGcGvw== 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 08A2C37813B6; Mon, 1 Apr 2024 06:13:45 +0000 (UTC) From: Vignesh Raman To: dri-devel@lists.freedesktop.org Cc: daniels@collabora.com, helen.koike@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: [PATCH v5 05/10] drm/ci: mediatek: Add job to test panfrost and powervr GPU driver Date: Mon, 1 Apr 2024 11:42:30 +0530 Message-Id: <20240401061235.192713-6-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240401061235.192713-1-vignesh.raman@collabora.com> References: <20240401061235.192713-1-vignesh.raman@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 @@ -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_.* -- 2.40.1