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.
Tyler's 52 commits (tylertms/Stela future/wifi-rtl8821ce, 1f077f635),
merged unchanged. 23 of them are the same patches future/wifi-mt7921
brought in (keeper notices, recovery, stepped SAE, the MT7925 fixes);
conflicts and how they were resolved:
- keeper.rs, keeper/tests.rs, lib.rs and the 10 conflicted MediaTek
files: fork/wifi-more's side, which already holds those patches and
the connac2 work built on them. Git's auto-merge also re-added this
branch's copies of the stepped-work imports to 13 MediaTek files;
those files are kept as fork/wifi-more has them.
- wifi/stepped.rs: this branch's earlier copy of the stepped work is
dropped; the RTL8822C and RTL8821C code uses stela_driver_base's,
which future/wifi-mt7921 moved it to (same API).
- realtek/identity.rs and chip.rs: Tyler's rtw_chip_info SPECS, with the
fork's RTL8852C as a fourth spec (rtw89, staged only) and its firmware
parsed with Ce::Never, the RTL8852B's with Ce::Prefer, as before.
source_mac.rs refuses the RTL8852C profile as it refuses the RTL8852B.
- probe.rs: take_diagnostic came in twice, the same commit on both
sides; one is kept.
- smbios.rs and the e1000e test: the fork's board name and chassis type
with Tyler's product SKU.
- pci/tests.rs: both sides' tests.
- recipes.rs: rtw88/rtw8821c_fw.bin (linux-firmware 59f9fc2, rtlwifi
licence) after the fork's RTL8852C image, its binding beside the
RTL8852C's; wireless_resource_tests checks REALTEK_WIFI[4] too.
- The firmware bundle grows by that one file: 93 files, 179.9 MiB
(126 files, 187.8 MiB with the AMD port); setup's and the loader's
bundle tests say so.
In the same commit, so that no tree between starts the RTL8821CE under the
RTL8822CE's claim name or hides it on the menu:
- wifi_claim: an Rtl8821c claim, named RTL8821CE in the boot log; it gets
the FLR it advertises (Linux's quirk_no_flr does not name it), else the
Secondary Bus Reset, else stays sealed.
- realtek_wifi's admit names the RTL8821CE by its IDs (10ec:b821, c821).
- wifi_starts and the startup menu's census count both IDs.
- unsupported.rs no longer says the RTL8821CE has no driver; RTL8822BE
stands in as the rtw88 chip that has none.
- NOTICE: the rtw88 RTL8821C, rtw_chip_info and RTL8822C robustness
sources Tyler's port follows.
The RTL8852CE's 855 driver tests and 19 probe tests pass with the same
names and results as fork/perf-1.
- wifi_claim: Mt7921 and Mt7922 claims; every MT7922 and MT7925 ID is
denied its Function Level Reset (Linux quirk_no_flr names 14c3:0616 and
14c3:7925) and gets the Secondary Bus Reset or stays sealed.
- claim_quiesced: the admit check names the chip it claims for, so the
MediaTek admit reads the function's IDs once and refuses an MT7920 or
any other unknown MediaTek ID before its reset.
- wifi_starts: MT7921 (14c3:7961, 0608), MT7922 (14c3:7922, 0616 and
ITTIM's 0b48:7922) and MT7925 (7925, 0717), so the startup menu's Wi-Fi
line shows on their PCs.
- Located forwards take_diagnostic, so the MediaTek and Intel keepers'
notices reach the adapter.
- The MediaTek attach errors and the adapter's driver name no longer say
MT7925 alone.
- NOTICE: the mt7921 and connac2 mt76 sources Tyler's port follows.
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.