Skip to content

Commit f23c8e5

Browse files
committed
Merge commit 'b41cd5979024419d2ffe020520cccf786e12b138' into dev/adreno-main
2 parents 409cc47 + b41cd59 commit f23c8e5

1,200 files changed

Lines changed: 46479 additions & 23285 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab-ci/bare-metal/poe-powered.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ section_start prepare_rootfs "Preparing rootfs components"
7575

7676
set -ex
7777

78-
date +'%F %T'
79-
8078
# Clear out any previous run's artifacts.
8179
rm -rf results/
8280
mkdir -p results
@@ -85,26 +83,20 @@ mkdir -p results
8583
# state, since it's volume-mounted on the host.
8684
rsync -a --delete $BM_ROOTFS/ /nfs/
8785

88-
date +'%F %T'
89-
9086
# If BM_BOOTFS is an URL, download it
9187
if echo $BM_BOOTFS | grep -q http; then
9288
curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
9389
"${FDO_HTTP_CACHE_URI:-}$BM_BOOTFS" -o /tmp/bootfs.tar
9490
BM_BOOTFS=/tmp/bootfs.tar
9591
fi
9692

97-
date +'%F %T'
98-
9993
# If BM_BOOTFS is a file, assume it is a tarball and uncompress it
10094
if [ -f "${BM_BOOTFS}" ]; then
10195
mkdir -p /tmp/bootfs
10296
tar xf $BM_BOOTFS -C /tmp/bootfs
10397
BM_BOOTFS=/tmp/bootfs
10498
fi
10599

106-
date +'%F %T'
107-
108100
# Install kernel modules (it could be either in /lib/modules or
109101
# /usr/lib/modules, but we want to install in the latter)
110102
if [ -n "${BM_BOOTFS}" ]; then
@@ -115,22 +107,16 @@ else
115107
fi
116108

117109

118-
date +'%F %T'
119-
120110
# Install kernel image + bootloader files
121111
if [ -z "$BM_BOOTFS" ]; then
122112
mv "${BM_KERNEL}" "${BM_DTB}.dtb" /tftp/
123113
else # BM_BOOTFS
124114
rsync -aL --delete $BM_BOOTFS/boot/ /tftp/
125115
fi
126116

127-
date +'%F %T'
128-
129117
# Create the rootfs in the NFS directory
130118
. $BM/rootfs-setup.sh /nfs
131119

132-
date +'%F %T'
133-
134120
echo "$BM_CMDLINE" > /tftp/cmdline.txt
135121

136122
# Add some options in config.txt, if defined
@@ -180,13 +166,10 @@ python3 $CI_INSTALL/custom_logger.py ${STRUCTURED_LOG_FILE} --close-dut-job
180166
python3 $CI_INSTALL/custom_logger.py ${STRUCTURED_LOG_FILE} --close
181167
set -e
182168

183-
date +'%F %T'
184-
185169
# Bring artifacts back from the NFS dir to the build dir where gitlab-runner
186170
# will look for them.
187171
cp -Rp /nfs/results/. results/
188172

189-
date +'%F %T'
190173
section_end dut_cleanup
191174

192175
exit $ret

.gitlab-ci/bare-metal/poe_run.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,16 @@
2525
import os
2626
import re
2727
import sys
28-
import threading
2928

3029
from custom_logger import CustomLogger
3130
from serial_buffer import SerialBuffer
3231

32+
3333
class PoERun:
3434
def __init__(self, args, boot_timeout, test_timeout, logger):
3535
self.powerup = args.powerup
3636
self.powerdown = args.powerdown
37-
self.ser = SerialBuffer(
38-
args.dev, "results/serial-output.txt", ": ")
37+
self.ser = SerialBuffer(args.dev, "results/serial-output.txt")
3938
self.boot_timeout = boot_timeout
4039
self.test_timeout = test_timeout
4140
self.logger = logger

.gitlab-ci/bare-metal/rootfs-setup.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@ mkdir -p $rootfs_dst/results
99
cp $BM/bm-init.sh $rootfs_dst/init
1010
cp $CI_COMMON/init*.sh $rootfs_dst/
1111

12-
date +'%F %T'
13-
1412
# Make JWT token available as file in the bare-metal storage to enable access
1513
# to MinIO
1614
cp "${S3_JWT_FILE}" "${rootfs_dst}${S3_JWT_FILE}"
1715

18-
date +'%F %T'
19-
2016
cp "$SCRIPTS_DIR/setup-test-env.sh" "$rootfs_dst/"
2117

2218
set +x
@@ -30,5 +26,3 @@ set -x
3026
# Add the Mesa drivers we built, and make a consistent symlink to them.
3127
mkdir -p $rootfs_dst/$CI_PROJECT_DIR
3228
rsync -aH --delete $CI_PROJECT_DIR/install/ $rootfs_dst/$CI_PROJECT_DIR/install/
33-
34-
date +'%F %T'

.gitlab-ci/bare-metal/serial_buffer.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@
2222
# IN THE SOFTWARE.
2323

2424
import argparse
25-
from datetime import datetime, UTC
2625
import queue
2726
import serial
2827
import threading
2928
import time
3029

3130

3231
class SerialBuffer:
33-
def __init__(self, dev, filename, prefix, timeout=None, line_queue=None):
32+
def __init__(self, dev, filename, timeout=None, line_queue=None):
3433
self.filename = filename
3534
self.dev = dev
3635

@@ -49,7 +48,6 @@ def __init__(self, dev, filename, prefix, timeout=None, line_queue=None):
4948
self.line_queue = line_queue
5049
else:
5150
self.line_queue = queue.Queue()
52-
self.prefix = prefix
5351
self.timeout = timeout
5452
self.sentinel = object()
5553
self.closing = False
@@ -88,7 +86,7 @@ def serial_read_thread_loop(self):
8886
break
8987
self.byte_queue.put(b)
9088
except Exception as err:
91-
print(self.prefix + str(err))
89+
print(str(err))
9290
break
9391
self.byte_queue.put(self.sentinel)
9492

@@ -130,10 +128,7 @@ def serial_lines_thread_loop(self):
130128
if b == b'\n'[0]:
131129
line = line.decode(errors="replace")
132130

133-
ts = datetime.now(tz=UTC)
134-
ts_str = f"{ts.hour:02}:{ts.minute:02}:{ts.second:02}.{int(ts.microsecond / 1000):03}"
135-
print("{endc}{time}{prefix}{line}".format(
136-
time=ts_str, prefix=self.prefix, line=line, endc='\033[0m'), flush=True, end='')
131+
print("{endc}{line}".format(line=line, endc='\033[0m'), flush=True, end='')
137132

138133
self.line_queue.put(line)
139134
line = bytearray()
@@ -170,12 +165,10 @@ def main():
170165
parser.add_argument('--dev', type=str, help='Serial device')
171166
parser.add_argument('--file', type=str,
172167
help='Filename for serial output', required=True)
173-
parser.add_argument('--prefix', type=str,
174-
help='Prefix for logging serial to stdout', nargs='?')
175168

176169
args = parser.parse_args()
177170

178-
ser = SerialBuffer(args.dev, args.file, args.prefix or "")
171+
ser = SerialBuffer(args.dev, args.file)
179172
for line in ser.lines():
180173
# We're just using this as a logger, so eat the produced lines and drop
181174
# them

.gitlab-ci/ci-tron/gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
extends:
44
- .ci-tron-b2c-job-v1
55
variables:
6-
GIT_STRATEGY: empty
6+
GIT_STRATEGY: none
77
B2C_VERSION: v0.9.17 # Linux 6.16.3
88

99
CI_TRON_PATTERN__JOB_SUCCESS__REGEX: 'hwci: mesa: exit_code: 0\r$'
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
variables:
22
CONDITIONAL_BUILD_ANDROID_CTS_TAG: 2dfd3e288249e4776ef6866d34d344d4
3-
CONDITIONAL_BUILD_ANGLE_TAG: 09747e85cb75ce82b9302bf1cdb1fd58
3+
CONDITIONAL_BUILD_ANGLE_TAG: e40de41a79653aa19fac70dc6289d8e9
44
CONDITIONAL_BUILD_CROSVM_TAG: 4c61f9707203afca91db3efeb57175db
55
CONDITIONAL_BUILD_FLUSTER_TAG: e13f8521875ebd70e207ec0f6f3d3e5b
6-
CONDITIONAL_BUILD_PIGLIT_TAG: 8638cc6cab3840150257cabc88739579
7-
CONDITIONAL_BUILD_VKD3D_PROTON_TAG: 3c680463034cc7273d9e98393861c61c
6+
CONDITIONAL_BUILD_PIGLIT_TAG: 7c554632e450496da9382764f449abae
7+
CONDITIONAL_BUILD_VKD3D_PROTON_TAG: 4ca112b515539395fc3df34cc8bdf2fd
8+
CONDITIONAL_BUILD_WINE_TAG: c97d0ebc9d033b3ad8a50c5832955d9c

.gitlab-ci/container/build-angle.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ section_start angle "Building ANGLE"
1313
# setting up the environment variables locally
1414
ci_tag_build_time_check "ANGLE_TAG"
1515

16-
ANGLE_REV="599125448d7ad53b2868a7b5d2e3e8d3bfbc1717"
16+
ANGLE_REV="5e591d03650dd427001e355f4884b857cadab113"
1717
DEPOT_REV="5982a1aeb33dc36382ed8c62eddf52a6135e7dd3"
1818

1919
# Set ANGLE_ARCH based on DEBIAN_ARCH if it hasn't been explicitly defined
@@ -144,9 +144,9 @@ fi
144144
# The Chromium build system hardcodes these flags, and they're not compatible
145145
# with our clang19 'unbundled' toolchain. See:
146146
# https://chromium.googlesource.com/chromium/src/build/+/39d42026/config/compiler/BUILD.gn#619
147-
# https://chromium.googlesource.com/chromium/src/build/+/39d42026/config/compiler/BUILD.gn#1882
147+
# https://chromium.googlesource.com/chromium/src/build/+/42209031/config/sanitizers/sanitizers.gni#548
148148
sed -i '/-fno-lifetime-dse/d' build/config/compiler/BUILD.gn
149-
sed -i '/-fsanitize-ignore-for-ubsan-feature=/d' build/config/compiler/BUILD.gn
149+
sed -i '/-fsanitize-ignore-for-ubsan-feature=/d' build/config/sanitizers/sanitizers.gni
150150

151151
(
152152
# The 'unbundled' toolchain configuration requires clang, and it also needs to

.gitlab-ci/container/build-apitrace.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -uex
99

1010
section_start apitrace "Building apitrace"
1111

12-
APITRACE_VERSION="45a005875d348b055d5b88dca285c109dee90457"
12+
APITRACE_VERSION="18cfd388ac47a9e00978b34d6c20341f3e2cdb56"
1313

1414
git clone https://github.com/apitrace/apitrace.git --single-branch --no-checkout /apitrace
1515
pushd /apitrace

.gitlab-ci/container/build-deqp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set -x
2323
# - the GL release produces `glcts`, and
2424
# - the GLES release produces `deqp-gles*` and `deqp-egl`
2525

26-
DEQP_MAIN_COMMIT=4d3bedc74e2258c483cf968753207cff84d9e4fc
26+
DEQP_MAIN_COMMIT=634a3fc62d82c34de68c3b1add25e6b7f5777524
2727
DEQP_VK_VERSION=1.4.4.2
2828
DEQP_GL_VERSION=4.6.8.0
2929
DEQP_GLES_VERSION=3.2.14.0

.gitlab-ci/container/build-gfxreconstruct.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pushd /gfxreconstruct
1919
git checkout "$GFXRECONSTRUCT_VERSION"
2020
git submodule update --init
2121
git submodule update
22-
cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/gfxreconstruct/build -DBUILD_WERROR=OFF
22+
cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/gfxreconstruct/build -DBUILD_WERROR=OFF -DGFXRECON_ENABLE_OPENXR=OFF
2323
cmake --build _build --parallel --target tools/{replay,info}/install/strip
2424
find . -not -path './build' -not -path './build/*' -delete
2525
popd

0 commit comments

Comments
 (0)