| 1 |
============ |
| 2 |
drmAvailable |
| 3 |
============ |
| 4 |
|
| 5 |
----------------------------------------------------- |
| 6 |
determine whether a DRM kernel driver has been loaded |
| 7 |
----------------------------------------------------- |
| 8 |
|
| 9 |
:Date: September 2012 |
| 10 |
:Manual section: 3 |
| 11 |
:Manual group: Direct Rendering Manager |
| 12 |
|
| 13 |
Synopsis |
| 14 |
======== |
| 15 |
|
| 16 |
``#include <xf86drm.h>`` |
| 17 |
|
| 18 |
``int drmAvailable(void);`` |
| 19 |
|
| 20 |
Description |
| 21 |
=========== |
| 22 |
|
| 23 |
``drmAvailable`` allows the caller to determine whether a kernel DRM |
| 24 |
driver is loaded. |
| 25 |
|
| 26 |
Return Value |
| 27 |
============ |
| 28 |
|
| 29 |
``drmAvailable`` returns 1 if a DRM driver is currently loaded. |
| 30 |
Otherwise 0 is returned. |
| 31 |
|
| 32 |
Reporting Bugs |
| 33 |
============== |
| 34 |
|
| 35 |
Bugs in this function should be reported to |
| 36 |
https://gitlab.freedesktop.org/mesa/libdrm/-/issues |
| 37 |
|
| 38 |
See Also |
| 39 |
======== |
| 40 |
|
| 41 |
**drm**\ (7), **drmOpen**\ (3) |