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.