1DRMAVAILABLE(3) Direct Rendering Manager DRMAVAILABLE(3)
2
3
4
6 drmAvailable - determine whether a DRM kernel driver has been loaded
7
9 #include <xf86drm.h>
10
11 int drmAvailable(void);
12
14 drmAvailable allows the caller to determine whether a kernel DRM driver
15 is loaded.
16
18 drmAvailable returns 1 if a DRM driver is currently loaded. Otherwise
19 0 is returned.
20
22 Bugs in this function should be reported to
23 https://gitlab.freedesktop.org/mesa/drm/-/issues
24
26 drm(7), drmOpen(3)
27
28
29
30
31 September 2012 DRMAVAILABLE(3)