Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1573564rda; Mon, 23 Oct 2023 17:46:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBaVz4O9GV70kCjNEa3DFjwtbNZl0Cz9Jtmx+gj0lekQNcjTDtul2PUp8o0+cZ0IuhNTKf X-Received: by 2002:a05:6e02:548:b0:357:a25a:572a with SMTP id i8-20020a056e02054800b00357a25a572amr12453090ils.21.1698108397427; Mon, 23 Oct 2023 17:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698108397; cv=none; d=google.com; s=arc-20160816; b=eaV7my1WWxKSGW1KoRCQESKO+62NTulS40vbXPCR3h+hytQN2QNycdcCTl6vsbyYhY NJH7jGhs7aiXAdFCYWQKsB5TG59uumsd23jxNzgaY3kkbqgOKvrqPgrvn8XtiIQs0lsf dPilSXzMVipeSmtBTcSHaQwc71SvnjegbO3WUmjLqMDdsmKOPGIpfNitrbmfG0Lo9w3j 9IQfMUI+5Od2tX66kaiMLcjg22S8ERihNgL5Ae2Ji/yql6dGsWYsKC6KdcBtw4k73kmh B5Ii7oT+oToXHcd3vynyjMxESqbx3xB7tc/fft1o/G+TntuyEjT4wv67V6K5yypjdMI8 myUQ== 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=r8jPtI25tlIEjDGMTlWkbabMHxs3MvXt4sAlwelV61U=; fh=bhf+QF5PyV7/8BbnsVa3BpwJZhgSO8PeDBcuMeOscV0=; b=q9T4v/RT1cp6kOiJF+i/GaaYTWmrb8SoSYdymhvg8LLZUD9BEDdS3gmvM5U7zQgitq OEHBV0WehTtZo2IMTlUpH23WL10HgXDMJvWCBKweZs41l1fhZZ5n4P72rqeyC6xMTm3w jurB/BsH4MI7rEqJbJyQ+jEAUu4CQ9KT3tK/khPruBM+rfc5wsTdWHhb6nWn1sLPSk5s FkPotjI71o+mGYrPJ6y2PqQFL4rIteH1lkjrHDeNxZfeodeRN5tdqbafDdPzFVyqAT7K pRrdRMS5CB/oBscqLmqfbWY6eu61Hb/CqVmR09myMIp+wauotN0dRNOpX8x2iFKz2R9Z SqIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JHRGXlue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p6-20020a625b06000000b006b7b42fe43asi7355855pfb.185.2023.10.23.17.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JHRGXlue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id B4DD980A9ABE; Mon, 23 Oct 2023 17:46:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231657AbjJXAqX (ORCPT + 99 others); Mon, 23 Oct 2023 20:46:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231720AbjJXAqU (ORCPT ); Mon, 23 Oct 2023 20:46:20 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 065CCD7C for ; Mon, 23 Oct 2023 17:46:18 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2804:14d:e646:872b:1c98:7e30:3cb0:3153]) (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: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6F39166072A7; Tue, 24 Oct 2023 01:46:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698108376; bh=TB/0rhokEDmZcdQSgbCRpSg8nQuhFIEjvqv1ehTU+Nk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JHRGXluePucVJ3019HJDmjkoYwyUXUE2P8ZmhUAzr0V6zI5SF5bgf3z6QvmuszU4t S62raDoe0s+YAXAwL3PmIMKhVxRuiRlcDRQR3/ZH9GpiBi+g53DeEq5M1CLxKxwDCs q/4w90SUidv7FbT1BMy/IuYDCNItJK9t3KAcqYectOACzqH59LlDn+WEIm7pYN+3fB hYqW2ZE4om2XBga/ZtgekbBwOYrIilaFmdSIIHE+3VZApKCu7iF4PF2da/s8bec4Q2 lui6/4UgP75p3covG8IHpAtLD7+8J6WK/5NsSa9gw2u8ScOjgGxk0X+DAh8HsWZPJH 7KSCqqrRrtjjA== From: Helen Koike To: dri-devel@lists.freedesktop.org, Helen Koike , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: robdclark@chromium.org, dmitry.baryshkov@linaro.org, vignesh.raman@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, david.heidelberg@collabora.com, quic_abhinavk@quicinc.com, quic_jesszhan@quicinc.com, daniels@collabora.com, linux-kernel@vger.kernel.org Subject: [PATCH v3 02/10] drm/ci: fix DEBIAN_ARCH and get amdgpu probing Date: Mon, 23 Oct 2023 21:45:17 -0300 Message-Id: <20231024004525.169002-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024004525.169002-1-helen.koike@collabora.com> References: <20231024004525.169002-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 23 Oct 2023 17:46:33 -0700 (PDT) amdgpu driver wasn't loading because amdgpu firmware wasn't being installed in the rootfs due to the wrong DEBIAN_ARCH variable. rename ARCH to DEBIAN_ARCH also, so we don't have the confusing DEBIAN_ARCH, KERNEL_ARCH and ARCH. Signed-off-by: Helen Koike Reviewed-by: David Heidelberg --- v2: - fix typos in commit message v3: - no changes --- drivers/gpu/drm/ci/build.sh | 2 +- drivers/gpu/drm/ci/image-tags.yml | 4 ++-- drivers/gpu/drm/ci/lava-submit.sh | 4 ++-- drivers/gpu/drm/ci/test.yml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh index 20a6ba8a7b04..e3908f4d71cb 100644 --- a/drivers/gpu/drm/ci/build.sh +++ b/drivers/gpu/drm/ci/build.sh @@ -35,7 +35,7 @@ elif [[ "$KERNEL_ARCH" = "arm" ]]; then apt-get install -y libssl-dev:armhf else GCC_ARCH="x86_64-linux-gnu" - DEBIAN_ARCH="x86_64" + DEBIAN_ARCH="amd64" DEVICE_TREES="" fi diff --git a/drivers/gpu/drm/ci/image-tags.yml b/drivers/gpu/drm/ci/image-tags.yml index 157d987149f0..e1b387581c11 100644 --- a/drivers/gpu/drm/ci/image-tags.yml +++ b/drivers/gpu/drm/ci/image-tags.yml @@ -4,9 +4,9 @@ variables: DEBIAN_BASE_TAG: "${CONTAINER_TAG}" DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build" - DEBIAN_BUILD_TAG: "${CONTAINER_TAG}" + DEBIAN_BUILD_TAG: "2023-10-06-amd" - KERNEL_ROOTFS_TAG: "${CONTAINER_TAG}" + KERNEL_ROOTFS_TAG: "2023-10-06-amd" DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base" DEBIAN_X86_64_TEST_IMAGE_GL_PATH: "debian/x86_64_test-gl" diff --git a/drivers/gpu/drm/ci/lava-submit.sh b/drivers/gpu/drm/ci/lava-submit.sh index 379f26ea87cc..3d39b0c916a8 100755 --- a/drivers/gpu/drm/ci/lava-submit.sh +++ b/drivers/gpu/drm/ci/lava-submit.sh @@ -37,8 +37,8 @@ PYTHONPATH=artifacts/ artifacts/lava/lava_job_submitter.py \ --dump-yaml \ --pipeline-info "$CI_JOB_NAME: $CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \ --rootfs-url-prefix "https://${BASE_SYSTEM_HOST_PATH}" \ - --kernel-url-prefix "https://${PIPELINE_ARTIFACTS_BASE}/${ARCH}" \ - --build-url "${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${ARCH}/kernel-files.tar.zst" \ + --kernel-url-prefix "https://${PIPELINE_ARTIFACTS_BASE}/${DEBIAN_ARCH}" \ + --build-url "${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${DEBIAN_ARCH}/kernel-files.tar.zst" \ --job-rootfs-overlay-url "${FDO_HTTP_CACHE_URI:-}https://${JOB_ROOTFS_OVERLAY_PATH}" \ --job-timeout-min ${JOB_TIMEOUT:-80} \ --first-stage-init artifacts/ci-common/init-stage1.sh \ diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml index 6473cddaa7a9..3479d2a0108d 100644 --- a/drivers/gpu/drm/ci/test.yml +++ b/drivers/gpu/drm/ci/test.yml @@ -23,7 +23,7 @@ - .lava-test:arm32 variables: HWCI_TEST_SCRIPT: "/install/igt_runner.sh" - ARCH: "armhf" + DEBIAN_ARCH: "armhf" dependencies: - testing:arm32 needs: @@ -38,7 +38,7 @@ - .lava-test:arm64 variables: HWCI_TEST_SCRIPT: "/install/igt_runner.sh" - ARCH: "arm64" + DEBIAN_ARCH: "arm64" dependencies: - testing:arm64 needs: @@ -53,7 +53,7 @@ - .lava-test:x86_64 variables: HWCI_TEST_SCRIPT: "/install/igt_runner.sh" - ARCH: "x86_64" + DEBIAN_ARCH: "amd64" dependencies: - testing:x86_64 needs: -- 2.39.2