xref: /openbsd-src/share/man/man4/drm.4 (revision 182cda815af080999d90dd17b8d2e457738c6e4c)
1.\" $OpenBSD: drm.4,v 1.13 2022/01/07 00:44:17 jsg Exp $
2.\"
3.\" Copyright (c) 2008 Jason McIntyre <jmc@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.Dd $Mdocdate: January 7 2022 $
17.Dt DRM 4
18.Os
19.Sh NAME
20.Nm drm ,
21.Nm inteldrm ,
22.Nm radeondrm
23.Nd Direct Rendering Manager device
24.Sh SYNOPSIS
25.Cd "# amd64"
26.Cd "amdgpu* at pci?"
27.Cd "drm0 at amdgpu? primary 1"
28.Cd "drm* at amdgpu?"
29.Cd "wsdisplay0 at amdgpu? primary 1"
30.Cd "wsdisplay* at amdgpu? mux -1"
31.Pp
32.Cd "# arm64"
33.Cd "amdgpu* at pci?"
34.Cd "drm* at amdgpu?"
35.Cd "wsdisplay* at amdgpu?"
36.Pp
37.Cd "# amd64, i386"
38.Cd "inteldrm* at pci?"
39.Cd "intagp* at inteldrm?"
40.Cd "agp* at intagp?"
41.Cd "drm0 at inteldrm? primary 1"
42.Cd "drm* at inteldrm?"
43.Cd "wsdisplay0 at inteldrm? primary 1"
44.Cd "wsdisplay* at inteldrm? mux -1"
45.Pp
46.Cd "# amd64, i386"
47.Cd "radeondrm* at pci?"
48.Cd "drm0 at radeondrm? primary 1"
49.Cd "drm* at radeondrm?"
50.Cd "wsdisplay0 at radeondrm? primary 1"
51.Cd "wsdisplay* at radeondrm? mux -1"
52.Pp
53.Cd "# arm64, loongson, macppc, powerpc64, riscv64, sparc64"
54.Cd "radeondrm* at pci?"
55.Cd "drm* at radeondrm?"
56.Cd "wsdisplay* at radeondrm?"
57.Sh DESCRIPTION
58The
59.Nm
60driver provides support for hardware accelerated video
61using the Direct Rendering Infrastructure (DRI).
62.Nm
63provides kernel support for DRI,
64and is used in conjunction with the
65.Xr X 7
66DRI module.
67.Pp
68Support is currently available for the following graphics cards:
69.Pp
70.Bl -tag -width "radeon(4)XXX" -offset indent -compact
71.It Xr amdgpu 4
72AMD Radeon GPUs using the amdgpu kernel driver
73.It Xr intel 4
74Intel integrated graphics chipsets
75.It Xr radeon 4
76ATI/AMD Radeon video driver
77.El
78.Sh FILES
79.Bl -tag -width "/usr/X11R6/lib/modules/dri/X_dri.so" -compact
80.It Pa /dev/dri/card*
81DRM primary node files.
82.It Pa /dev/dri/renderD*
83DRM render node files.
84.It Pa /usr/X11R6/lib/modules/dri/*_dri.so
85X DRI modules.
86.El
87.Sh SEE ALSO
88.Xr vga 4
89.Sh HISTORY
90The
91.Nm
92driver first appeared in
93.Ox 4.3 .
94