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 0
19 is returned.
20
22 Bugs in this function should be reported to
23 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=libdrm
24 under the "DRI" product, component "libdrm"
25
27 drm(7), drmOpen(3)
28
29
30
31libdrm September 2012 DRMAVAILABLE(3)