Skip to content

Commit 2b126e0

Browse files
Helen Koikemripard
authored andcommitted
drm/ci: fix DEBIAN_ARCH and get amdgpu probing
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 <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent 1887de0 commit 2b126e0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

drivers/gpu/drm/ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ elif [[ "$KERNEL_ARCH" = "arm" ]]; then
3535
apt-get install -y libssl-dev:armhf
3636
else
3737
GCC_ARCH="x86_64-linux-gnu"
38-
DEBIAN_ARCH="x86_64"
38+
DEBIAN_ARCH="amd64"
3939
DEVICE_TREES=""
4040
fi
4141

drivers/gpu/drm/ci/image-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ variables:
44
DEBIAN_BASE_TAG: "${CONTAINER_TAG}"
55

66
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
7-
DEBIAN_BUILD_TAG: "${CONTAINER_TAG}"
7+
DEBIAN_BUILD_TAG: "2023-10-06-amd"
88

9-
KERNEL_ROOTFS_TAG: "${CONTAINER_TAG}"
9+
KERNEL_ROOTFS_TAG: "2023-10-06-amd"
1010

1111
DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base"
1212
DEBIAN_X86_64_TEST_IMAGE_GL_PATH: "debian/x86_64_test-gl"

drivers/gpu/drm/ci/lava-submit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ PYTHONPATH=artifacts/ artifacts/lava/lava_job_submitter.py \
3737
--dump-yaml \
3838
--pipeline-info "$CI_JOB_NAME: $CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \
3939
--rootfs-url-prefix "https://${BASE_SYSTEM_HOST_PATH}" \
40-
--kernel-url-prefix "https://${PIPELINE_ARTIFACTS_BASE}/${ARCH}" \
41-
--build-url "${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${ARCH}/kernel-files.tar.zst" \
40+
--kernel-url-prefix "https://${PIPELINE_ARTIFACTS_BASE}/${DEBIAN_ARCH}" \
41+
--build-url "${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${DEBIAN_ARCH}/kernel-files.tar.zst" \
4242
--job-rootfs-overlay-url "${FDO_HTTP_CACHE_URI:-}https://${JOB_ROOTFS_OVERLAY_PATH}" \
4343
--job-timeout-min ${JOB_TIMEOUT:-80} \
4444
--first-stage-init artifacts/ci-common/init-stage1.sh \

drivers/gpu/drm/ci/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- .lava-test:arm32
2424
variables:
2525
HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
26-
ARCH: "armhf"
26+
DEBIAN_ARCH: "armhf"
2727
dependencies:
2828
- testing:arm32
2929
needs:
@@ -38,7 +38,7 @@
3838
- .lava-test:arm64
3939
variables:
4040
HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
41-
ARCH: "arm64"
41+
DEBIAN_ARCH: "arm64"
4242
dependencies:
4343
- testing:arm64
4444
needs:
@@ -53,7 +53,7 @@
5353
- .lava-test:x86_64
5454
variables:
5555
HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
56-
ARCH: "x86_64"
56+
DEBIAN_ARCH: "amd64"
5757
dependencies:
5858
- testing:x86_64
5959
needs:

0 commit comments

Comments
 (0)