Files
reims-vgpu/docs
Anees Iqbal e1fa3d5ae3 🆕 Place planes in place at 16 bytes where every surface is cached
Where the device caches every surface in place (SURFACE_CACHE_EVERY), no
host texture lies over a surface's pages: each is a view of an image the host
fills from the plane's place and pitch in the cache and writes back there, by
copies that address them in texels of the view's format. The host's linear
texture alignment, 256 bytes, then turned surfaces into copies for nothing:
15 of the 259 copy views of an rt boot, an x420 3840x2160 video output with
plane 0 at 568256 bytes and rows of 8000 among them, and rt refuses every
texture over a copy.

Under the feature a plane's offset and rows need only be multiples of 16
bytes, the largest texel of a format of texels, so every view's fill and
write-back address the plane whatever format of texels it takes. Without
the feature nothing changes.

For the guest: such a surface's view is in place, cached, where it was a
copy counted for alignment.
2026-11-19 07:47:41 -08:00
..