VTDecoderXPCService writes page 0 of each new decoder output before its first decode, the output's other pages not resident (measured on the 780M in a macOS 26 guest: all 208 pool surfaces of a 4K HEVC session in Safari). A deferral takes only a surface none of whose pages is resident, so each decoder output had its 12 MiB wired and filled with zeros at its first ask: 5 to 7 ms of the guest's on the 780M and about 3 ms on the 5080, for each of the seventeen or more surfaces a 4K60 playback's start makes. The host now offers SURFACE_DEFERRED_CARRY (FEATURES_HI bit 0, feature bit 32) where it offers either deferral. A guest that takes it may defer such a surface carrying its resident pages: the deferral's runs are the surface's bytes in order, each run of pages not resident RGFX_PAGE_RUN_ZEROS. The host makes the cache of zeros as for any deferral and owes a first fill of the carried pages, as a new cache owes one of its pages: copied in through a staging buffer after the zeros on the transfer queue, before what reads the cache next, or taken as met where a decode writes the planes whole first. The carried pages are watched until the block's pages are named. A deferral with runs is refused as INVALID_ARGUMENT where the guest did not take the bit, or where its runs are not whole guest pages summing to the surface's bytes, lie outside the guest's RAM, or carry none. What the guest reads changes: FEATURES_HI offers bit 32 where either deferral is offered, and the test that held the feature words changes with it. The wire header's new constants move the option ROM's and both guest sets' records of their sources; their bytes stay.
18 lines
1.3 KiB
TOML
18 lines
1.3 KiB
TOML
# prebuilt/ReimsGraphics.rom, the option ROM reims-ctl carries for reims-vgpu's own device,
|
|
# and the sha256 of each file it was built from: make -C firmware prebuilt writes both on a
|
|
# Mac, and make -C firmware prebuilt-check checks them against the tree. Built with:
|
|
# Apple clang version 21.0.0 (clang-2100.4.1.1)
|
|
# Homebrew LLD 23.1.4 (compatible with GNU linkers)
|
|
rom = "749434f87f562895548f60681cd4cd8bf6cc0d0e967ac2fea297674426709161"
|
|
|
|
[sources]
|
|
"crates/reims-vgpu-graphics/include/reims_graphics_wire.h" = "24fe325bd743cf3bba7ced1ebadb3a814b4a03f817d4fb58e1f64569bf822d7d"
|
|
"firmware/Makefile" = "d85b14a3b40cc59b7c07a9e3a3a273c257e81c5674963c70c3c45eb386e653d0"
|
|
"firmware/src/OptionRom.S" = "b910fe61a880580996a81134fba75900d3a9f48ca266e76fe2d6b8eb5a011eb9"
|
|
"firmware/src/ReimsGraphics.c" = "554751ff15edbdf69a038d5b2aefd8315b9c54610c090c0890d9c72b13dacdef"
|
|
"firmware/src/ReimsGraphics.h" = "83e3439b9baf9c06ee75c57537792770efa7a5cb07e22bf1fb47f6ffef7af169"
|
|
"firmware/src/ReimsGraphicsName.c" = "107e7e34240a3942dcd410b701768ab81013f42932783b7fa90fcefc3f815f19"
|
|
"firmware/src/ReimsGraphicsOutput.c" = "c35ed747684d90c2b195d95613d79111a9f7c0777654f5f027ed9951bdd7a112"
|
|
"firmware/src/ReimsGraphicsRom.S" = "7b0482515ec151272c609b8a2c343476c525aa1f916997df0999e5eeaf42474c"
|
|
"firmware/src/Uefi.h" = "d9b349424b645428c114d141b0ca7c4b92ccef573803e16eea501258eb5572ee"
|