Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1526097rdb; Thu, 7 Dec 2023 01:20:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtw+CCh5xCTxfQCsGMherZ+7mzyVOJ+njKpSSJM/ZYoSQa51t+ADyQtXs6Cs09w423KbNS X-Received: by 2002:a17:90a:d347:b0:286:7c14:6d0a with SMTP id i7-20020a17090ad34700b002867c146d0amr5025703pjx.10.1701940799830; Thu, 07 Dec 2023 01:19:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701940799; cv=none; d=google.com; s=arc-20160816; b=UEB5WNowKL+XCt73q6Vxn0hkWJWWf6yO4KaL7ejqVpLgmCyl2uV9lsLMIH5ir/gYgy r4bPwmm+XivLls+IKANzaKEL5KQpgtcXaBGuWp9KkHAz9+rGhLycz25bMFcWKWaWRg/q 100wVs3dNCqsi6qsNIyUtfyPkXdV1pPgwTbQS6Rp4QS1xbilD8vCS1UPQE7zXcenHnxo jkMG1mx4+BS36t2WsRcnKMJSD5hnveSWeFFh65ZBdj1AGJ+xN5xEwRT7IHpAU+aWhwW9 qTGhw7/qmfBMm+Rm5DS03i5CbzEjGnrtQUvgaeUV2Rw2F+KZ801u5u/dM+9htrMvuSzS wVJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LbdLL/b81lAO/6ZsmNd6t/3Sz11hlrzT/CNbv00TzyU=; fh=UrpkSxacRnNe3pAqpeGIIGAGFrEOZ8ZAHCW+EatPIvM=; b=Hga6/eytJZpioE/+WA9j+z7ZYLk3HHn7PRj85En3KDz6E51+BCX3vTu5cUhHkkWRiy LkPtUnfDZ7DdZwzagEbIYWbAl0uTvZGG8NpTvuo27phkTq0RWltibGJZR4QxYmsfi+dC C86pbTU03XmCwa7fJYacth59vDP7D3tXY5cUFOOOLReRxXeLsdjATd1497F1N6VblPYq 8UswLX9Hgnlcb2pQEyo5WAb1gXpmniTryjGPlt8LoVgRUp9aek9mi7H5QTWJS5tBtZqP apovq6yXWSOhGWqSEeBmC24djyt5xjv4+GCYdOEWGV3VvPQG9h37OiLGlK4KWr49EouC quWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Bc4qjA9T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id o21-20020a17090aac1500b00286ba460ee3si764000pjq.128.2023.12.07.01.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:19:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Bc4qjA9T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C38458326693; Thu, 7 Dec 2023 01:19:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378596AbjLGJTa (ORCPT + 99 others); Thu, 7 Dec 2023 04:19:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378629AbjLGJTH (ORCPT ); Thu, 7 Dec 2023 04:19:07 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36E871716; Thu, 7 Dec 2023 01:19:06 -0800 (PST) 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 madras.collabora.co.uk (Postfix) with ESMTPSA id CAC7A660739B; Thu, 7 Dec 2023 09:19:02 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701940745; bh=FI7vvMbXu6jw/8V7yXWu5M1HVFfmnKGFMWLn6Tl2uAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bc4qjA9TxkLS3NJOdvzQjV+8p6+K/mNbdEUkQRGrDgCxj+vR1BTD9G8EIC1Dr0y7F NRa3+ZxR/e1uR7rThkSZ6SLCKrzUeAuCp85mz2kg3lNhyKl3kz7EDNf3jH1vyVTi2I H7ByDIJ/kzpIc8xZFEzwNUQqyoRAeyTLttFHVElO34ZVjbo0wsGuMfLr/jQTIiNq0G IowVm/oItYDlR0ZVJp2qrxRtNHxugUc8j45jRMsuHO81TfgBRxvuxhAJGkLr4h1XQH 7h05n7Bu3PSMdDs7p2yrOeKuFOVPcaR3dY+i2ZkOycSr8Ga34LLYDP+XBKtQ5jAsB7 2CEUg+1OYLf4g== From: Vignesh Raman To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v7 06/10] drm: ci: mt8173: Do not set IGT_FORCE_DRIVER to panfrost Date: Thu, 7 Dec 2023 14:48:27 +0530 Message-Id: <20231207091831.660054-7-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231207091831.660054-1-vignesh.raman@collabora.com> References: <20231207091831.660054-1-vignesh.raman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:19:56 -0800 (PST) Mediatek 8173 and 8183 SOCs have a separate display controller and GPU with different drivers for each. For mt8173, the GPU driver is powervr and the display driver is mediatek. In the case of mt8183, the GPU driver is panfrost and the display driver is mediatek. Setting IGT_FORCE_DRIVER to panfrost for mt8173 is not the expected driver. So set mediatek for mt8173. Support to test both GPU and display drivers for these ARM SOCs will be added in the next patch series to increase test coverage. Acked-by: Helen Koike Signed-off-by: Vignesh Raman --- v5: - Added a new patch in the series to set IGT_FORCE_DRIVER to 'mediatek' for mt8173 v6: - Use GPU_VERSION instead of CI_JOB_NAME to check if it is mt8173 v7: - Rework the fix and reword commit message --- drivers/gpu/drm/ci/igt_runner.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh index c6cf963592c5..f1a08b9b146f 100755 --- a/drivers/gpu/drm/ci/igt_runner.sh +++ b/drivers/gpu/drm/ci/igt_runner.sh @@ -20,9 +20,16 @@ cat /sys/kernel/debug/dri/*/state set -e case "$DRIVER_NAME" in - rockchip|mediatek|meson) + 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/. -- 2.40.1