1DRMAVAILABLE(3)            Direct Rendering Manager            DRMAVAILABLE(3)
2
3
4

NAME

6       drmAvailable - determine whether a DRM kernel driver has been loaded
7

SYNOPSIS

9       #include <xf86drm.h>
10
11       int drmAvailable(void);
12

DESCRIPTION

14       drmAvailable allows the caller to determine whether a kernel DRM driver
15       is loaded.
16

RETURN VALUE

18       drmAvailable returns 1 if a DRM driver is currently loaded.   Otherwise
19       0 is returned.
20

REPORTING BUGS

22       Bugs     in     this     function     should     be     reported     to
23       https://gitlab.freedesktop.org/mesa/drm/-/issues
24

SEE ALSO

26       drm(7), drmOpen(3)
27
28
29
30
31                                September 2012                 DRMAVAILABLE(3)
Impressum