Libdrm is a userspace library for accessing the DRM, direct rendering manager,
on Linux, BSD and other operating systems that support the ioctl interface. It
is a low-level library, typically used by graphics drivers such as
the Mesa drivers, the X drivers, libva and similar projects.
The library provides wrapper functions for the ioctls to avoid exposing the
kernel interface directly, and for chipsets with drm memory manager, support
for tracking relocations and buffers.