blob: 19a5f64c462fbbe7c9fa06f7f9045333c6adf962 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "DRMAVAILABLE" 3 "September 2012" "" "Direct Rendering Manager"
.SH NAME
drmAvailable \- determine whether a DRM kernel driver has been loaded
.SH SYNOPSIS
.sp
\fB#include <xf86drm.h>\fP
.sp
\fBint drmAvailable(void);\fP
.SH DESCRIPTION
.sp
\fBdrmAvailable\fP allows the caller to determine whether a kernel DRM
driver is loaded.
.SH RETURN VALUE
.sp
\fBdrmAvailable\fP returns 1 if a DRM driver is currently loaded.
Otherwise 0 is returned.
.SH REPORTING BUGS
.sp
Bugs in this function should be reported to
\fI\%https://gitlab.freedesktop.org/mesa/drm/\-/issues\fP
.SH SEE ALSO
.sp
\fBdrm\fP(7), \fBdrmOpen\fP(3)
.\" Generated by docutils manpage writer.
.
|