Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1627117rdb; Sun, 8 Oct 2023 17:52:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIHUNnvzrLfWyoK17KgGDv17hgZJgXgV50mRrlVe8PznI9OAHOifpsVDlK4ZB24yOF+3qP X-Received: by 2002:a05:620a:4153:b0:775:d492:64e9 with SMTP id k19-20020a05620a415300b00775d49264e9mr13975574qko.41.1696812749790; Sun, 08 Oct 2023 17:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696812749; cv=none; d=google.com; s=arc-20160816; b=Wx+8Jz91p9JjKVM4AZWFGZbtR4nCNTLh2S26IKHC+PiG0nDvHjFnFVb33hvZXCeD9y K8Fz1O+4ERjJzSG1ZH/zF6uktlHyZ/4xNJtugZws+2n6kfHPcnQzoU8xYjdcJJzT/eWB VCityCVggi8LIG9jjL/0BYHJ9j0IZn0wPyqsoscxPxAp4jeOYc6Z2ZCE5dz6NEL2mqDm zFLcJZZhUVoSoaGDsem//jRfAqA5r4jnJ8I1VIGo8mo1Zf1BdqBEDCKQCfSiQwnNUojc /XXTTECCayZXQ7BySTAW4gJHrA3UXe7jBn7/MSQLKBgt09iLnCUt4/KBRXBK3sRL9VY+ /Sgg== 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=PpEbtUaf/2wjGLNiaiFnMmDUrEaJouie0IAFPKVUOas=; fh=I1xXpuOP0z0rYawV0Qv6j+aKJtxaUHT3/IpxVOp8OtY=; b=RZiMwOQz8ip54gRcqDaGQPYpmV3N3C4nv7F9CPPTuRhkgdhDMz0jib3xBVaYPHrFYw RWeJRwiMNZc28OfaYJMQjH2A54Dk5WxL3MZiDBrMmsUzKZJHrjL0mio6xcuQrna2HEVC yX21bKGwVKLynpdDCHmDEh3HaVPUUJG2WkNDM8+mNqWG1I/mspuaqN/3fTMS8Vv948W1 nsIM9VGWoWVxcOYvd3H/8HY2HU72Mbar3r/v6t1on9DBr7R0wDi56ZLSW5qfanbY7jtR INNsGSniMO51Xld2JNClQPMXg2ZrGXcCLnyulEF3uFNy1WSdld3I/a4RuTLktyPq4o9a llug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oisaNmd3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bx16-20020a056a00429000b0069338b22c0csi6085995pfb.359.2023.10.08.17.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 17:52:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oisaNmd3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 DC8B0805556C; Sun, 8 Oct 2023 17:52:22 -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 S1344649AbjJIAvT (ORCPT + 99 others); Sun, 8 Oct 2023 20:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232250AbjJIAvS (ORCPT ); Sun, 8 Oct 2023 20:51:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E90D9AC for ; Sun, 8 Oct 2023 17:51:16 -0700 (PDT) Received: from localhost.localdomain (unknown [179.221.49.143]) (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 D8B9766070EF; Mon, 9 Oct 2023 01:51:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696812675; bh=Ac/i4mcuSSzrwRISfJZcXroechJVsDrCq9+aTDopmIU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oisaNmd3g217WeAPmhzimnwcfUbs+WNmrzaAZSGRawnf+FKoM+tXWRnvhTUXx3Oc6 jZaNYWDhhO9f0/1nTkugihb4DGUFG//7msQq3/5Sf8NAngg5BH1gvvUfZMtCYdwgdZ HgsKsyQmj4NW+eDOqNrCjgDLcX4NBadDuXIBnfnfmNV4HLLkWk3NR/5vYOYDC5Cu1J bUbkziLka2mzfVGmF0qz+7SV9W0QCLsQH9SI/DZervmSrWm47/MIQqjirXz5IXg+Oo YYA6ZTme8PSzjuPbMV7yniM/pliQm5Z7txpMvXi7uNVixskUXLx/8RHj1s7QZkGHns FKuRwHez7EVRg== From: Helen Koike To: Helen Koike , 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, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/9] drm/ci: fix DEBIAN_ARCH and get amdgpu probing Date: Sun, 8 Oct 2023 21:49:47 -0300 Message-Id: <20231009004953.203576-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231009004953.203576-1-helen.koike@collabora.com> References: <20231009004953.203576-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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]); Sun, 08 Oct 2023 17:52:23 -0700 (PDT) X-Spam-Level: ** 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 --- 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 7b014287a041..8eec15143bfe 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 f051b6c547c5..6650b5a4d724 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.34.1