Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp768179rdb; Thu, 19 Oct 2023 20:42:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpduHaNQ3j8idiU0oRpnTrmKa1DIjy84CgSTQsROAf3umsjAzE5QXe526nvuqBnWQKiNBZ X-Received: by 2002:a17:90b:4d8c:b0:27d:2d2f:9ca2 with SMTP id oj12-20020a17090b4d8c00b0027d2d2f9ca2mr4886277pjb.24.1697773362213; Thu, 19 Oct 2023 20:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697773362; cv=none; d=google.com; s=arc-20160816; b=TxsEsJx9oPK/3EUAKRPlt0QdHDMxiohAd0xdXq0+foEz6RssQultNyAcKUtjAxMEvk 08t1m8YZoY66qo4kHW1Xqm/v/9sUb2A3aRTsv2AbslTCk/odbGQ8LH9icSpHAMXtBbg0 eZhiKXeP+137dm5k+7+/eLJ1OqiGWShUMQZcy6Vhoy2JhmaM/NYWzmM4gX1FHUzea7gq NCXZLwRQCUvfbCmtEedI635Eq8Ut2H+nU7SE1ufIn3cJpv7hidsLbbjRrztqnG0Lpl69 nRUQP/FJV7d5/2VB9Cjov3pr7Q53cPKdvBejDzAdMXiRUjKgDxMMjiMv1mBk/vCUGN/z M54Q== 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=aNYNHcqPXRhgKf5If0nUTGeL8H9c5dHqA/zF4Fuwojk=; fh=UPOc/vNKmS11Cx9LD1T6tbphoqCgop1s9hN2odxfr8M=; b=qNP4vWUJl6RJ6IoxUQD7YP+StqfDXdM0qCsTpb2WWBVbTfL+slenafqXryPN9xNZhG n2Tbg4p294kIzxqcG4yTWHWAt1Rh5Mz/ErOjcX/w2yaUd8UIZifCfL+kHnYSFTFblhQS EgnFYXShEIjRJ92R46i8OLoySJUMpaKrXmPNFWrAr0FHIQeAp+8ViU08zcqQIOGG3cZB WUho4N8LLFkMBWqtnptL/SIJLzf5oLnE9OQ60Z1o/sCB+vUe7aWF4mzgQOBTIV8thTt+ 2TmUCHCz0hmA2f4S5giKwVbaZ5NmgO/ljnL4Cp0kV5q+KOGJBjbt1+sBVKpoLJqA2Z6/ d3ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=j1lQQ87z; 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 cu18-20020a17090afa9200b0027ce5205f94si970384pjb.150.2023.10.19.20.42.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 20:42:42 -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=j1lQQ87z; 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 75CFB81DEEC6; Thu, 19 Oct 2023 20:42:39 -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 S1346940AbjJTDmF (ORCPT + 99 others); Thu, 19 Oct 2023 23:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346944AbjJTDmA (ORCPT ); Thu, 19 Oct 2023 23:42:00 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D0C1D5F for ; Thu, 19 Oct 2023 20:41:57 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2804:14d:e646:872b:8302:9b9b:d59b:1681]) (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 B80F1660734B; Fri, 20 Oct 2023 04:41:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697773316; bh=9MrjxQacUj15ep8Zx8F+0wVVrkSwNkBKyIzymzzBRE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j1lQQ87zxitp42CnzbvsNjr7rJ7Y3sp/WjZSx1tFPzf8m31G8rd0VVgE8THJpzvQ8 BuZQ0etRY4gNp5hD8txbOWMCN3QYlxy2AFC/W2wSvKS3efIDEZH1z27lRL259zCWSz WJfkPT0kp8xmUZMLhwq5j7/1oyo3nGCianWX9isJpPiM6CpHv3fV0/dYLRS9PIMawS dfF5u157LZdwnlKyL0vFxFIjdXqdZdvkTXX973ZE3wGDu/XK+OCmibtW/7tioqF3bS DUA9KJIU8UW8k4CNiZ5wC859AxezJHy5PVWUNUuQ0hAS/r9GByyR6NVthNQf/UUiew xtvUGQ38CEmGg== 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, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/9] drm/ci: fix DEBIAN_ARCH and get amdgpu probing Date: Fri, 20 Oct 2023 00:41:17 -0300 Message-Id: <20231020034124.136295-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020034124.136295-1-helen.koike@collabora.com> References: <20231020034124.136295-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]); Thu, 19 Oct 2023 20:42:39 -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 --- 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