Skip to content

xf86drmMode: add helpers for dumb buffers

Simon Ser requested to merge emersion/drm:dumb-helpers into main

Up until now, DRM clients had to hand-roll their code to create, destroy and map dumb buffers. This is slightly inconvenient, a bit error-prone, and not easily discoverable.

Introduce wrappers for these operations, just like we have for other KMS IOCTLs.

Merge request reports