geramyloveless
29b4e710d4
display: a presented frame no longer waits for its copy or flip
...
PRESENT hands the frame to the output's worker and returns. The worker
copies the frame's damage (plus whatever the target buffer missed while
off screen) into one of three scanout buffers with SDMA, split in
64-row bands across both SDMA rings when a frame is a MiB or more, and
flips with a nonblocking atomic commit. The copy fences sit in the
buffer's reservation, so the commit waits for them on the GPU's
behalf (the implicit in-fence) and the CPU does not. The flip's
out-fence wakes the worker from the flip interrupt; no thread polls.
A frame that arrives while one is still waiting replaces it and their
damage adds up. Surfaces are reference counted so the worker's hold
outlives a RELEASE. Statistics (version 2) report frames received,
flipped and replaced, bytes and jobs, the worker's submit time, GPU
copy time, and capture-to-flip latency from the vblank timestamp.
PRESENT with no rectangle reads the statistics only.
test_display_pipeline brings up DM on the CS fixture with two SDMA
engines and a vblank thread that raises the HUBP flip interrupt.
2026-10-03 16:56:14 -07:00
..
2026-10-03 14:08:37 -07:00
2026-10-03 11:19:41 -07:00
2026-10-03 15:07:47 -07:00
2026-10-03 11:19:41 -07:00
2026-10-03 11:19:30 -07:00
2026-10-03 14:35:21 -07:00
2026-10-03 15:16:21 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 11:19:41 -07:00
2026-10-03 15:57:17 -07:00
2026-10-03 14:08:36 -07:00
2026-10-02 20:57:25 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 15:44:38 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 15:44:38 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 14:51:43 -07:00
2026-10-03 16:56:14 -07:00
2026-10-03 14:08:36 -07:00
2026-10-03 16:56:14 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 21:52:07 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 20:56:19 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 10:12:22 -07:00
2026-10-03 09:29:01 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 14:48:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 10:01:53 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 10:15:54 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 11:18:55 -07:00
2026-10-03 11:19:41 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 20:59:27 -07:00
2026-10-02 20:59:27 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 15:35:47 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 20:56:19 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 10:03:32 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 11:19:30 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 15:57:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 20:59:42 -07:00
2026-10-03 14:43:55 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 20:56:19 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-02 18:49:17 -07:00
2026-10-03 11:19:41 -07:00