Espresso, which mediaanalysisd runs its models with when there is no
Neural Engine, makes 16-byte no-copy buffers 8 bytes into a page
(0x781827ff58 at 725.9 s of dev64's test 4 boot). The frontend wired
[bytes, bytes + 16 KiB), the gate refused ranges that are not whole
pages, Metal answered nil and mediaanalysisd crashed 0.5 s later. It
crashed five times in 30 minutes, ReportCrashService restarting eleven
times to report them.
The frontend now imports the whole pages around the bytes and asks for a
buffer offset bytes into them. The VkBuffer starts at the driver's buffer
alignment below the bytes and the Metal buffer where they are: commands
take the start as the buffer's offset in its VkBuffer, as they do for
upload suballocations, and its address is the bytes'. Textures over such
a buffer are refused, as their rows are addressed from the VkBuffer's
start. A page-aligned address imports as before.
Both sides kept where both added: --hybrid-scanout beside --asus-mode,
--gpu-aspm, --tlbi-keep, --host-core, --tier2 and --pack-preload in the
options, their errors, parsing, tests and mount_interface's notes;
amd_discovery beside acpi_hardware; the stop's firmware picture beside
tier 2's line; set_hybrid_scanout beside gpu::link::choose; the
integrated GPU's memory plan beside the pack preload's bounds.
The translation store passes the GPU plan to pack_budget and the
background preload to translations::read. The firmware counts keep the
GPU branch's per-port sums, its base now 93 files, 188,594,997 bytes,
with build1c's rtw88 RTL8821C firmware (BUILT_BUNDLE 469/442/120/93).
build1c's preload tests give pack_budget and sizes_with_room the
GpuMemory::Own the GPU branch's signatures take.
The phase-0 reader gains the bytes of the functions a cache's images
name, to the next function start; the generator trims padding, takes the
first ret as the exit and runs the engine's own Signature::of. --out
writes a table of hashes only; --extract writes the functions' bytes for
the real-bytes oracle and refuses a directory inside the repository.
Eight files conflicted; every resolution keeps both sides.
- gpu_status.rs (9 hunks), host_memory.rs, engine/gpu/before.rs,
stela-driver-gpu lib.rs: gpu/intel's GPU-generic screen text (the GPU by
its name, the drivers this build has, shown_by_copy(gpu)) in the fork's
brand: Stambha and `stambha repair` where gpu/intel's words said Stela.
- storage.rs: gpu/intel's memory-plan census (plan_gpu_memory, gpu_census,
gpu_plan) and the fork's census_pci, drawn_by_other and Install caution.
drawn_by_other goes through H1's GpuStack::drawing (select, then draws),
built on gpu/intel's admits, and answers the adapter with its revision
too, for the HOST GPU line's market name.
- xe.rs: gpu/intel's admission (a GuC image and ANV opening the device);
host_firmware.rs: gpu/intel's MAX_IMAGES 512 beside the 1 MiB manifest
both sides have; bundle/tests.rs: gpu/intel's amdgpu, xe and i915
selection tests (the fork's Raphael-only family test is for recipes this
branch replaced).
Merged clean, fixed after the build: the fork's lost-device dump
(059d63ddf) read a render pipeline's bicubic variants as 3-tuples;
gpu/intel's f8b623bd7 gave them a topology class, so they are 4-tuples.
gpu/intel's other screen lines that said Stela (amd_metal's refusals,
selection's backend line) and gpu_step's and host_memory's expected text
now say Stambha.
The memory plan is as before (only its refusal's name changed). Interface
unchanged: bundle schema 4, OPTIONS_REVISION 13. Mesa patch 0043 (each
shader's program header and code) comes with fork/next.
The [[bin]] is stambha, xtask dist prints target/release/stambha, and the
release workflow packages, version-checks and names stambha-v* archives;
its INSTALL notes say ./stambha. --version prints "Stambha 0.5.0" through
clap's display_name. A binary renamed back to stela still runs: clap reads
nothing from argv[0].
On-stick names stay as they were: the STELA volume label, \EFI\stela\,
stela.efi, stela.cfg, the per-user stela cache and Stela temp folder, the
archive comments, the boot log's "Stela boot log: N boots" header and the
mount interface's own message.
fork/next moved past fd7b002b6 by its merge of fork/upstream-prs: DesignWare
I2C early STOP, PS/2 ACK before CTR, the fixed-MTRR VGA hole, Raptor Lake
HDA, the TLB mailbox and ITLB fixes, a 1024-entry jump cache and faster
block translation. No file it touches is one gpu/intel changes; the merge
is clean. Interface unchanged (schema 4, OPTIONS_REVISION 13).
upstream/gpu/intel @164d332ee holds all of gpu/amd @eca683096: 181 commits
by Tyler Smith past main. Eleven files conflicted; five are upstream's own
(main against gpu/intel), six are the fork's.
Memory plan (upstream):
- host_memory.rs: sizes() takes gpu/intel's GpuPlan and plans through
plan(); main's code budget is applied to every estimate inside plan
(budgeted()), so the GPU's share, the apertures' tables and the fallback's
room are planned against the heap the boot runs with. Applying it after
plan() would shrink the heap under a fallback reserve sized for the
larger one. sizes_with_room() takes the GpuPlan; pack_budget()'s fallback
lack reads the budgeted heap too. The fork's with_window() is unchanged.
With GpuMemory::Own and no fallback the plan is main's exactly.
- host_memory/tests.rs (33 hunks): the base suite keeps main's pre-budget
staged() split over GpuMemory::Own; main's code-budget, small-host,
--code-window and pack-room tests and all of gpu/intel's GPU-plan tests
are kept. Five gpu/intel tables were measured before the budget and are
recomputed: heap and code move by the same bytes, the pool, guest and
GPU share do not; the fallback room grows on small hosts and every host
keeps its 768M bound; NVIDIA's 16 GiB numbers are main's own
(small_hosts_move_their_kept_code_into_the_window).
- system/memory.rs: one HOST MEMORY line with both sides' fields (window,
kept, gpu, aperture, pages, fallback); the page bound is taken after
--code-window; EngineMemory keeps kept_code and the GPU fields.
- system.rs: both destructured field sets and the handoff's union.
- engine/gpu/gate.rs: main's unmapping of a failed service's stack with
gpu/intel's Result and its refusal of a stack that did not run; the
services' GPU names (main) follow the spliced served list, so a
fallback's services keep their names.
- xtask/src/gpu/radv/metal.rs (merged clean, built broken): gpu/intel's
RADV host harness builds the Metal compiler Service without main's
compose_kernel (0ae834ade); it now resolves stela_metal_compose_kernel
from the hosted library as the linked path does.
The fork's (union, nothing dropped):
- handoff.rs: low_dma and wifi_saved beside gpu_share, gpu_pages,
gpu_pages_held and gpu_census.
- stela-cli/Cargo.toml: intel-port beside the trackpad's workspace-check.
- bundle.rs: gpu/intel's cfg-gated slice with the fork's Realtek
Bluetooth family.
- bundle/tests.rs, setup/firmware.rs, setup/tests.rs: BASE is the fork's
92 files and 188,455,525 bytes (upstream's 88 and the Realtek files), so
BUILT_BUNDLE is (468, 245.8) with both ports, (441, 240.3) AMD only,
(119, 185.2) Intel only and (92, 179.7) without.
Interface unchanged: bundle schema 4, OPTIONS_REVISION 13, NOR 0x800000,
SEP 0x10000, boot bundle REVISION 39 on both sides.
every_direct_word_skips_every_decoder_before_the_integer_one and
every_direct_word_skips_the_block_decoders run on all host threads in
release, at PCs 0, 0x1000, a user and a kernel address and the highest
word, where branch and literal targets overflow. They are the proof to
rerun when a decoder is added before the integer one or to the parse.
The service now also counts the register operations its host paths
complete, which it left out of amx_operations, and every PE fills its
published AMX form counts only under step timing, which alone counts
them, instead of copying 3 KiB twice at each run slice. The ties test
asserts that an F16C path ran, and the AMX native tests' module and the
check gate say to set STELA_AMX_OPTIONAL=avx512f on a host without
AVX-512.
Translator id: unchanged (no compiler source and no engine translation
input changed; the code blocks hold is the same whichever routine the
cell names).
The install build is the RTL8852CE Wi-Fi branch (wifi/rtw8852c-m3, 999c0d361)
with upstream's GPT slot, TRIM and 32 MiB log fixes.
One conflict, in crates/stela-boot/src/engine/network.rs (HostNetwork::open):
the Wi-Fi adapter's address wait still runs through network_link::address,
so its connection keeper's failures are retried until the cut, and upstream's
DHCP and DNS notes (Stack::take_notes) are logged after that wait, before the
keeper's retry line. This matches wifi/rtw8852c-m3-test, without its
host-check-only `pub(crate) mod security`.