evidence · 1.8 KiB

README.md

Committed at docs/evidence/panel-paint/rejected-rotation/README.md. This is what grounds the requirements that cite it.

Open raw source

Rejected isolated rotation experiments — 2026-10-19

All experiments compare the current748545c0 RGB565 rotation with a proposed loop in separate source-built binaries, while baseline48af remains running. The sole board lock is held. Buffers are fresh heap/unattached DRM dumb allocations; no modesetting and no integrated or optical claim. Each variant has three alternating12-frame rounds/transform/memory, exact destination pixels including padding. The block transpose also passes288 guarded native three-frame geometry cases under UBSan. None is integrated into production.

The aligned4×4 register transpose regressed DRM rotation1 from4.190ms to 7.565ms, and rotation3 from4.182ms to7.157ms (median CPU per copy). The unchanged32-bit path stays similar. Increasing or reducing the RGB565 tile also loses against16; the raw rows and exact generator/compiler/source are adjacent. This is measured rejection, not a claimed theoretical speedup.

TileDRM rotation1 baselineCandidateResult
44.094ms5.516msreject
84.075ms4.495msreject
324.060ms5.582msreject
644.084ms6.100msreject
1284.059ms5.983msreject

The existing16 tile and packed64-bit stores remain unchanged. Neither failed experiments nor synthetic copies are counted as motion acceptance.

A final function-local GCCO3/unroll-loops experiment also loses for the actual RGB565 path: DRM rotation1 median4.069→4.411ms, rotation3 4.043→4.204ms. The unchanged source’s32-bit loop does improve under these compiler options (12.060→8.749ms and11.168→7.870ms), but that is not the selected panel format. The experiment is rejected for this change; production compilation is unchanged. Sources/compiler command/timestamps/raw rows are in compiler-o3/.