drmAvailable man page

drmAvailable ā€” determine whether a DRM kernel driver has been loaded

Synopsis

#include <xf86drm.h>

int drmAvailable(void);

Description

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

Return Value

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

Reporting Bugs

Bugs in this function should be reported to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=libdrm under the "DRI" product, component "libdrm"

See Also

drm(7), drmOpen(3)

Referenced By

drm(7), drm-kms(7), drm-memory(7).

September 2012 libdrm Direct Rendering Manager