xf86drmMode: add helpers for dumb buffers
authorSimon Ser <contact@emersion.fr>
Thu, 27 Oct 2022 17:11:20 +0000 (19:11 +0200)
committerSimon Ser <contact@emersion.fr>
Thu, 27 Oct 2022 20:18:22 +0000 (22:18 +0200)
commit3be3b1a83f346a6b58f4a9f0846b48e3ee931533
treedda3aff4720a04a166ae34b1b5ce7d534f287026
parent82b2b1e8987c182d14fcaf5a3a3b8ee1b4d5e1df
xf86drmMode: add helpers for dumb buffers

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.

Signed-off-by: Simon Ser <contact@emersion.fr>
core-symbols.txt
xf86drmMode.c
xf86drmMode.h