Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1558978lqz; Mon, 1 Apr 2024 09:42:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbLyiQhmfJ7xex7UiVoL2CjproyN5ycmY44JLlWikSK3rejlSAg4EtyfZc9i96552mq98HSPpFcq0ysrlGr/4hdmkm4ZZoed/QDoShzg== X-Google-Smtp-Source: AGHT+IEgnS0jWemYd4mOkQ39RA1ZZfxd9JjtEudjgPNz/T9z2onqZyK/bxtFg+tuim8zEAZgmkO6 X-Received: by 2002:a05:6a00:194a:b0:6ea:8eed:d369 with SMTP id s10-20020a056a00194a00b006ea8eedd369mr10813231pfk.20.1711989751241; Mon, 01 Apr 2024 09:42:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711989751; cv=pass; d=google.com; s=arc-20160816; b=muMsEnTleFmgcoDoUKHFhPr7OLf0viCgVfyNjSv2611/bylBfkCwkFEDApnKIEt79I bB0Ozd+eLqMkSmZ+udFqvpUoC5Ts1Yj1w/Ymq4LiEbTckvjnTqRxDvJVkPgMV8mkgWSj gy2/5iBGxUEZhSN3eZ0dq09k9Jm4S3d7aMGMEaxmkbEfuVpiGp4dIJUBjeOwBCgCXjoE hAf9j1ulKi2YkW8/Ix86J+M4iowfnjJDiGW2vnMu+hxgQ0ix+cBIoULBMRLex62TzRqf KPK/ZBIvEooFISde2rliw/velKKCA47alfNXxo1xvljyNXN4QbH/rdDl3VYRK/3tqynH CipA== 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=n9Tzw6ibsK91ehi0BToFLSL7aVV3iMojzW/zjEd7qTw=; fh=hNC0J1pOLXXfdGp4RomvQBXTd/Jsrtc4yPCitT0v4cg=; b=PW/7SvDsPdQPQTQ3688xbRxJWOl/62Bk+lqJH4bi5C51GxdPjUeLyY3OlUiTTDsvNP cKMxIM8AVsFkJIezmSLjAnNFUwUwijknrWCx94x0FJBId+Gq+3b46U+RgMkv02CrAY87 i5KW4LJGXSWAly2TkRIbWKKG/W3BJkpxpIIJNBAZ7gk54YcJ9Z7fm37VGAQXENeJoPsb xfuMZp/JPOP2ORrwQz9oGxt2l/ZVcA/G6vX7po05vkHCxrYHIE4GcOIhh411RmiH0TrA nfRfVe0asdtSSig/mAqClMFUaQ4JXa2FXefa3stmVL2eovfmTg+DKqQH3acispfGGLQN edJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=xLbIBnl7; 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-126858-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x6-20020a056a00270600b006e68943a381si9177954pfv.233.2024.04.01.09.42.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 09:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126858-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=@collabora.com header.s=mail header.b=xLbIBnl7; 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-126858-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126858-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E1E72282F69 for ; Mon, 1 Apr 2024 16:42:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2466481D0; Mon, 1 Apr 2024 16:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="xLbIBnl7" 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 EEC1B3BBC3 for ; Mon, 1 Apr 2024 16:42:10 +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=1711989732; cv=none; b=DE8equ1J+FkGNazG25n5y/j29WYej/jZyOGXlB0FmQE95iIo6bi9BJpL/gwQDSFcHmu7wYIJTgyLe4hUfMVwkHF+U8t2Cgb5Pjj/E+BiT65S8lel7f36UJYrBaJiSRlOQDGvsmkQ1bJiqaQhiXK1bMq0IW4eae23AuzWd0Odw48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711989732; c=relaxed/simple; bh=WopZIv1m6iHVZ5GAyDRjVH14xeI4Hdv9HeL4nql8kK4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fJ/nA68X9aXa1+Zewqvl58ZNYjfVGzfT9hHwYGiWFEE7NMjI3w7MaNdwi9AANe7epjpD+4Zqpujd+bkV7n7N93zPHenw7ZS4p+n/r3eTw00PA4O4mJn8mnuLgZjV6g5wXi2Nfd33vF7AVHsmVn3eRGQOi4DUstlFHHPv3Ai1xPw= 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=xLbIBnl7; 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=1711989729; bh=WopZIv1m6iHVZ5GAyDRjVH14xeI4Hdv9HeL4nql8kK4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=xLbIBnl792sEhVS0hA7Ot1TsA6aXkyC3C/5TeYVOON+ULaJIJdlN8xkPR8yjC9OEK XB/LkzmhZy2/RHHSmut0sdP3JKhqkRiDPj2kAOQq252/UgQ6MNvJXZHRIfRDS4OvIP gqQW4by8jd6/CK06lRraJl+ZaZp4FGt1Vod8Ht3qWXJFVTzaGzjK1fU2hmebQpBD97 fqJUuhFhOa1qj2VOAfLEWJAd7TBx56b6sFqkIer3HaTyVRUPpBQsfDAsXqURGIF98j GfGJce3xojpChU/ofabShSxisAE2x9OI+txzlIOYDgS0D7nosofAPPpuxTOFBdgGtU M+oQeOKIFQG/w== 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 E30A2378143B; Mon, 1 Apr 2024 16:42:03 +0000 (UTC) Message-ID: Date: Mon, 1 Apr 2024 13:42:03 -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 04/10] drm/ci: mediatek: Refactor existing mediatek jobs 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-5-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20240401061235.192713-5-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 and mt8183, the display driver is mediatek. > Currently, in drm-ci for mediatek, only the display driver is > tested. Refactor the existing mediatek jobs so that gpu driver > testing jobs can be added later and update xfails accordingly. > Since the correct driver name is passed from the job to test gpu > and display driver, remove the check to set IGT_FORCE_DRIVER > based on driver name. > > Signed-off-by: Vignesh Raman > --- > > v2: > - Refactor the patch to rename job to indicate display driver testing, > rename the existing xfail files, and remove IGT_FORCE_DRIVER from the > script since it's now set by the job. > > v3: > - Add the job name in GPU_VERSION and use it for xfail file names instead > of using DRIVER_NAME. Also update xfails. > > v4: > - Remove the display suffix in job and rename xfails accordingly. > Remove the change adding job name in GPU_VERSION. > > v5: > - Add mediatek-display job. > > --- > drivers/gpu/drm/ci/igt_runner.sh | 10 --------- > drivers/gpu/drm/ci/test.yml | 21 +++++++++++++++---- > .../drm/ci/xfails/mediatek-mt8173-fails.txt | 15 ------------- > .../drm/ci/xfails/mediatek-mt8173-flakes.txt | 13 ++++++++++++ > .../drm/ci/xfails/mediatek-mt8183-fails.txt | 21 ++++++++++++------- > .../drm/ci/xfails/mediatek-mt8183-flakes.txt | 8 +++++++ > 6 files changed, 51 insertions(+), 37 deletions(-) > create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt > create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt > > diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh > index f1a08b9b146f..ce6e22369d4d 100755 > --- a/drivers/gpu/drm/ci/igt_runner.sh > +++ b/drivers/gpu/drm/ci/igt_runner.sh > @@ -20,16 +20,6 @@ cat /sys/kernel/debug/dri/*/state > set -e > > case "$DRIVER_NAME" in > - rockchip|meson) > - export IGT_FORCE_DRIVER="panfrost" > - ;; > - mediatek) > - if [ "$GPU_VERSION" = "mt8173" ]; then > - export IGT_FORCE_DRIVER=${DRIVER_NAME} > - elif [ "$GPU_VERSION" = "mt8183" ]; then > - export IGT_FORCE_DRIVER="panfrost" > - fi > - ;; > amdgpu) > # Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib > mv /install/modules/lib/modules/* /lib/modules/. > diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml > index 612c9ede3507..d8af670ee51d 100644 > --- a/drivers/gpu/drm/ci/test.yml > +++ b/drivers/gpu/drm/ci/test.yml > @@ -282,14 +282,17 @@ amdgpu:stoney: > .mediatek: Maybe we could s/.mediatek/.mediatek-device, so we know we are not talking about the driver name, what do you think? > extends: > - .lava-igt:arm64 > - stage: mediatek > variables: > - DRIVER_NAME: mediatek > DTB: ${DEVICE_TYPE} > BOOT_METHOD: depthcharge > KERNEL_IMAGE_TYPE: "" > > -mediatek:mt8173: > +.mediatek-display: > + stage: mediatek > + variables: > + DRIVER_NAME: mediatek > + > +.mt8173: > extends: > - .mediatek > parallel: 4 > @@ -298,7 +301,7 @@ mediatek:mt8173: > GPU_VERSION: mt8173 > RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana > > -mediatek:mt8183: > +.mt8183: > extends: > - .mediatek > parallel: 3 > @@ -307,6 +310,16 @@ mediatek:mt8183: > GPU_VERSION: mt8183 > RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16 > > +mediatek:mt8173: > + extends: > + - .mt8173 > + - .mediatek-display > + > +mediatek:mt8183: > + extends: > + - .mt8183 > + - .mediatek-display From the code, panfrost was being used in IGT_FORCE_DRIVER for mt8183 no? --> never mind, I just saw the next patch handles panfrost case. I guess these two commits could be squashed (up to you). Regards, Helen > + > # drm-mtk doesn't even probe yet in mainline for mt8192 > .mediatek:mt8192: > extends: > diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt > index ef0cb7c3698c..c63abd603b02 100644 > --- a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt > +++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt > @@ -9,28 +9,13 @@ kms_bw@linear-tiling-3-displays-1920x1080p,Fail > kms_bw@linear-tiling-3-displays-2560x1440p,Fail > kms_bw@linear-tiling-3-displays-3840x2160p,Fail > kms_color@invalid-gamma-lut-sizes,Fail > -kms_color@pipe-A-invalid-gamma-lut-sizes,Fail > -kms_color@pipe-B-invalid-gamma-lut-sizes,Fail > kms_cursor_legacy@cursor-vs-flip-atomic,Fail > kms_cursor_legacy@cursor-vs-flip-legacy,Fail > kms_flip@flip-vs-modeset-vs-hang,Fail > kms_flip@flip-vs-panning-vs-hang,Fail > kms_flip@flip-vs-suspend,Fail > kms_flip@flip-vs-suspend-interruptible,Fail > -kms_force_connector_basic@force-edid,Fail > -kms_force_connector_basic@force-load-detect,Fail > -kms_force_connector_basic@prune-stale-modes,Fail > -kms_hdmi_inject@inject-4k,Fail > -kms_plane_scaling@planes-upscale-20x20,Fail > -kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25,Fail > -kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5,Fail > -kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-75,Fail > -kms_plane_scaling@upscale-with-modifier-20x20,Fail > -kms_plane_scaling@upscale-with-pixel-format-20x20,Fail > -kms_plane_scaling@upscale-with-rotation-20x20,Fail > kms_properties@get_properties-sanity-atomic,Fail > kms_properties@plane-properties-atomic,Fail > kms_properties@plane-properties-legacy,Fail > kms_rmfb@close-fd,Fail > -kms_selftest@drm_format,Timeout > -kms_selftest@drm_format_helper,Timeout > diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt > new file mode 100644 > index 000000000000..64b30c092c85 > --- /dev/null > +++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt > @@ -0,0 +1,13 @@ > +# Board Name: mt8173-elm-hana.dtb > +# Bug Report: https://lore.kernel.org/dri-devel/931e3f9a-9c5c-fc42-16fc-abaac4e0c0ff@collabora.com/T/#u > +# IGT Version: 1.28-gd2af13d9f > +# Failure Rate: 50 > +# Linux Version: 6.7.0-rc3 > + > +# Reported by deqp-runner > +kms_cursor_legacy@cursor-vs-flip-atomic-transitions > + > +# Below test shows inconsistency across multiple runs, > +# giving results of Pass and Timeout/Fail alternately > +kms_prop_blob@invalid-set-prop > +kms_prop_blob@invalid-set-prop-any > diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt > index 67d690fc4037..91cd1c4ec068 100644 > --- a/drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt > +++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt > @@ -1,13 +1,18 @@ > -kms_addfb_basic@addfb25-bad-modifier,Fail > +core_setmaster_vs_auth,Fail > +kms_bw@linear-tiling-1-displays-1920x1080p,Fail > kms_bw@linear-tiling-1-displays-2560x1440p,Fail > +kms_bw@linear-tiling-1-displays-3840x2160p,Fail > kms_bw@linear-tiling-2-displays-1920x1080p,Fail > kms_bw@linear-tiling-2-displays-2560x1440p,Fail > kms_bw@linear-tiling-2-displays-3840x2160p,Fail > -kms_bw@linear-tiling-3-displays-2560x1440p,Fail > -kms_bw@linear-tiling-3-displays-3840x2160p,Fail > -kms_color@pipe-A-invalid-gamma-lut-sizes,Fail > -kms_plane_cursor@overlay,Fail > -kms_plane_cursor@primary,Fail > -kms_plane_cursor@viewport,Fail > -kms_plane_scaling@upscale-with-rotation-20x20,Fail > +kms_color@invalid-gamma-lut-sizes,Fail > +kms_cursor_legacy@cursor-vs-flip-atomic,Fail > +kms_cursor_legacy@cursor-vs-flip-legacy,Fail > +kms_flip@flip-vs-modeset-vs-hang,Fail > +kms_flip@flip-vs-panning-vs-hang,Fail > +kms_flip@flip-vs-suspend,Fail > +kms_flip@flip-vs-suspend-interruptible,Fail > +kms_properties@get_properties-sanity-atomic,Fail > +kms_properties@plane-properties-atomic,Fail > +kms_properties@plane-properties-legacy,Fail > kms_rmfb@close-fd,Fail > diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt > new file mode 100644 > index 000000000000..5885a950fa72 > --- /dev/null > +++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt > @@ -0,0 +1,8 @@ > +# Board Name: mt8183-kukui-jacuzzi-juniper-sku16.dtb > +# Bug Report: https://lore.kernel.org/dri-devel/931e3f9a-9c5c-fc42-16fc-abaac4e0c0ff@collabora.com/T/#u > +# IGT Version: 1.28-gd2af13d9f > +# Failure Rate: 100 > +# Linux Version: 6.7.0-rc3 > + > +# Reported by deqp-runner > +kms_cursor_legacy@cursor-vs-flip-atomic-transitions