table of contents
other versions
- bookworm 2.4.114-1+b1
- bookworm-backports 2.4.123-1~bpo12+1
- testing 2.4.123-1
- unstable 2.4.123-1
DRMAVAILABLE(3) | Direct Rendering Manager | DRMAVAILABLE(3) |
NAME¶
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://gitlab.freedesktop.org/mesa/drm/-/issues>
SEE ALSO¶
drm(7), drmOpen(3)
September 2012 |