drmAvailable(libdrm 2.4.40) drmAvailable(libdrm 2.4.40)
NAME
drmAvailable - determine whether a DRM kernel driver has been loaded
SYNOPSIS
#include <xf86drm.h>
int drmAvailable(void);
DESCRIPTION
This function allows the caller to determine whether a kernel DRM driver is loaded.
RETURN VALUE
If a DRM driver is currently loaded, this function returns 1. Otherwise 0 is returned.
REPORTING BUGS
Bugs in this function should be reported to http://bugs.freedesktop.org under the "Mesa" product, with "Other" or "libdrm" as the compo-
nent.
SEE ALSO
drmOpen(3)
drmAvailable(libdrm 2.4.40)