logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

drmAvailable - determine whether a DRM kernel driver has been loaded

Description

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

Name

drmAvailable - determine whether a DRM kernel driver has been loaded

Reporting Bugs

Bugs in this function should be reported to <https://gitlab.freedesktop.org/mesa/libdrm/-/issues>

Return Value

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

See Also

drm(7), drmOpen(3) September 2012 DRMAVAILABLE(3)

Synopsis

#include<xf86drm.h>intdrmAvailable(void);

See Also