Files
reims-vgpu/docs
Anees Iqbal b35bda90d1 🔥 Delete the pages views' grouping, which no platform turns on
The pages blocks' views were grouped into shared udmabuf files only where the
platform's VM answered HostVm::view_groups, and regrouped only where it
answered HostVm::regroup_limits. Since the old Vulkan platform went, no
platform answers either: rt's view imports are made at SURFACE_PAGES with the
import's own address, each view one import, and the planner ruled that
grouping does not come back in any part. The code only the testkit drove is
deleted:
- SurfaceViews::join_group, group_closed, seal, group_jobs and their types
  (Joined, Sealing, the forming groups, HandedOver, WaitsForViews),
  GROUP_WINDOW and GROUP_MEMBER_MAX, and the decoder's wrappers;
- decode/surface_pages/regroup.rs, the decoder's regroup_moves, and
  GraphicsControl's regroup_step, seal_group, group_key and REGROUP_KEY;
- HostVm::view_groups, group_views and regroup_limits with GroupLimits,
  GroupHold and ViewGroups, and the testkit FakeVm's answers to them;
- Buffer::rebind_no_copy, which only regroups called, its testkit impl and
  the two tests of its refusal;
- the grouping and regroup tests in graphics/tests.rs.

start_over_pages hands the over-pages job to the surface worker as before
grouping, and a context's close no longer drops groups first.

Nothing the guest or the host observes changes: no platform grouped a view,
so every view was already an import of its own. No degradation counts-line
code is dropped; grouping wrote none. The diagnostics that go with it are the
views log line's "imported as pieces of group dma-bufs" clause, the regroups
info line, the trace events regroups, regroup, regpass and regcand, and the
seal's and regroups' debug lines.

The surface_pages module doc and docs/graphics-kext/design.md now say each
pages block's view is one import, keeping the measured cost of an import a
submission; docs/lessons.md keeps both grouping lessons as traps, in the past
tense.
2026-11-22 12:53:21 -08:00
..