LIBDRM is a cross-driver middle-ware that enables user space applications (for example,
Mesa and 2D drivers) to communicate with the kernel through DRI.
The following diagram shows the DRM structure. Figure 1. DRM Structure
LIBDRM is a library under DRM for communication between driver and user
layer.