A practical guide to LibDRM, the Linux kernel subsystem for managing graphics memory and display hardware. Walks through the fundamentals of allocating and displaying a framebuffer by explaining the DRM pipeline components (connectors, CRTCs, modes) and providing working C code that draws a checkerboard pattern directly to the screen. Covers essential concepts like dumb buffers, memory mapping, and the relationship between DRM and higher-level graphics APIs.
Sort: