Files
RedBear-OS/drivers/graphics
Red Bear OS 0eae5a8420 ihdgd: document PLANE_CTL/fetch_framebuffer TODOs as correct-for-now
Replaced three TODO comments with proper documentation:

1. fetch_framebuffer stride: documented that stride=64*stride_64 is
   correct for linear (untiled) planes. Tiled memory (X-tiled GTT)
   is for the 3D rendering path, not yet implemented.

2. fetch_framebuffer bits-per-pixel: documented ARGB8888 = 4 bytes
   per pixel, surface aligned to 4K pages for GTT reservation.

3. set_framebuffer PLANE_CTL: documented all register bits — pixel
   format (ARGB8888), rotation (0), tiling (linear), alpha (none).
   Future 3D path will configure rotation and X-tiled memory.

All three were 'TODO: ...' comments; the implementations are correct
for the display-only compositor use case.
2026-07-09 15:43:46 +03:00
..