Software:Direct Rendering Manager

From HandWiki
(Redirected from Software:KMS driver)
Short description: Subsystem of the Linux kernel
Direct Rendering Manager
Original author(s)kernel.org & freedesktop.org
Developer(s)kernel.org & freedesktop.org
Written inC
Type
License
Websitedri.freedesktop.org/wiki/DRM

The Direct Rendering Manager (DRM) is a subsystem of the Linux kernel responsible for interfacing with GPUs of modern video cards. DRM exposes an API that user-space programs can use to send commands and data to the GPU and perform operations such as configuring the mode setting of the display. DRM was first developed as the kernel-space component of the X Server Direct Rendering Infrastructure,[1] but since then it has been used by other graphic stack alternatives such as Wayland and standalone applications and libraries such as SDL2 and Kodi.

User-space programs can use the DRM API to command the GPU to do hardware-accelerated 3D rendering and video decoding, as well as GPGPU computing.

Overview

The Linux kernel already had an API called fbdev, used to manage the framebuffer of a graphics adapter,[2] but it couldn't be used to handle the needs of modern 3D-accelerated GPU-based video hardware. These devices usually require setting and managing a command queue in their own memory to dispatch commands to the GPU and also require management of buffers and free space within that memory.[3] Initially, user-space programs (such as the X Server) directly managed these resources, but they usually acted as if they were the only ones with access to them. When two or more programs tried to control the same hardware at the same time, and set its resources each one in its own way, most times they ended catastrophically.[3]

Access to video card without DRM
Without DRM
Access to video card with DRM
With DRM
DRM allows multiple programs concurrent access to the 3D video card, avoiding collisions

The Direct Rendering Manager was created to allow multiple programs to use video hardware resources cooperatively.[4] The DRM gets exclusive access to the GPU and is responsible for initializing and maintaining the command queue, memory, and any other hardware resource. Programs wishing to use the GPU send requests to DRM, which acts as an arbitrator and takes care to avoid possible conflicts.

The scope of DRM has been expanded over the years to cover more functionality previously handled by user-space programs, such as framebuffer managing and mode setting, memory-sharing objects and memory synchronization.[5][6] Some of these expansions were given specific names, such as Graphics Execution Manager (GEM) or kernel mode-setting (KMS), and the terminology prevails when the functionality they provide is specifically alluded. But they are really parts of the whole kernel DRM subsystem.

The trend to include two GPUs in a computer—a discrete GPU and an integrated one—led to new problems such as GPU switching that also needed to be solved at the DRM layer. In order to match the Nvidia Optimus technology, DRM was provided with GPU offloading abilities, called PRIME.[7]

Software architecture

A process using the Direct Rendering Manager of the Linux Kernel to access a 3D accelerated graphics card

The Direct Rendering Manager resides in kernel space, so user-space programs must use kernel system calls to request its services. However, DRM doesn't define its own customized system calls. Instead, it follows the Unix principle of "everything is a file" to expose the GPUs through the filesystem name space, using device files under the /dev hierarchy. Each GPU detected by DRM is referred to as a DRM device, and a device file /dev/dri/cardX (where X is a sequential number) is created to interface with it.[8][9] User-space programs that want to talk to the GPU must open this file and use ioctl calls to communicate with DRM. Different ioctls correspond to different functions of the DRM API.

A library called libdrm was created to facilitate the interface of user-space programs with the DRM subsystem. This library is merely a wrapper that provides a function written in C for every ioctl of the DRM API, as well as constants, structures and other helper elements.[10] The use of libdrm not only avoids exposing the kernel interface directly to applications, but presents the usual advantages of reusing and sharing code between programs.

Direct Rendering Manager architecture details: DRM core and DRM driver (including GEM and KMS) interfaced by libdrm

DRM consists of two parts: a generic "DRM core" and a specific one ("DRM driver") for each type of supported hardware.[11] DRM core provides the basic framework where different DRM drivers can register and also provides to user space a minimal set of ioctls with common, hardware-independent functionality.[8] A DRM driver, on the other hand, implements the hardware-dependent part of the API, specific to the type of GPU it supports; it should provide the implementation of the remaining ioctls not covered by DRM core, but it may also extend the API, offering additional ioctls with extra functionality only available on such hardware.[8] When a specific DRM driver provides an enhanced API, user-space libdrm is also extended by an extra library libdrm-driver that can be used by user space to interface with the additional ioctls.

API

The DRM core exports several interfaces to user-space applications, generally intended to be used through corresponding libdrm wrapper functions. In addition, drivers export device-specific interfaces for use by user-space drivers and device-aware applications through ioctls and sysfs files. External interfaces include: memory mapping, context management, DMA operations, AGP management, vblank control, fence management, memory management, and output management.

DRM-Master and DRM-Auth

There are several operations (ioctls) in the DRM API that either for security purposes or for concurrency issues must be restricted to be used by a single user-space process per device.[8] To implement this restriction, DRM limits such ioctls to be only invoked by the process considered the "master" of a DRM device, usually called DRM-Master. Only one of all processes that have the device node /dev/dri/cardX opened will have its file handle marked as master, specifically the first calling the SET_MASTER ioctl. Any attempt to use one of these restricted ioctls without being the DRM-Master will return an error. A process can also give up its master role—and let another process acquire it—by calling the DROP_MASTER ioctl.

The X Server—or any other display server—is commonly the process that acquires the DRM-Master status in every DRM device it manages, usually when it opens the corresponding device node during its startup, and keeps these privileges for the entire graphical session until it finishes or dies.

For the remaining user-space processes there is another way to gain the privilege to invoke some restricted operations on the DRM device called DRM-Auth. It is basically a method of authentication against the DRM device, in order to prove to it that the process has the DRM-Master's approval to get such privileges. The procedure consists of:[12]:13

  • The client gets a unique token—a 32-bit integer—from the DRM device using the GET_MAGIC ioctl and passes it to the DRM-Master process by whatever means (normally some sort of IPC; for example, in DRI2 there is a DRI2Authenticate request that any X client can send to the X Server.[13])
  • The DRM-Master process, in turn, sends back the token to the DRM device by invoking the AUTH_MAGIC ioctl.
  • The device grants special rights to the process file handle whose auth token matches the received token from the DRM-Master.

Graphics Execution Manager

Due to the increasing size of video memory and the growing complexity of graphics APIs such as OpenGL, the strategy of reinitializing the graphics card state at each context switch was too expensive, performance-wise. Also, modern Linux desktops needed an optimal way to share off-screen buffers with the compositing manager. These requirements led to the development of new methods to manage graphics buffers inside the kernel. The Graphics Execution Manager (GEM) emerged as one of these methods.[6]

GEM provides an API with explicit memory management primitives.[6] Through GEM, a user-space program can create, handle and destroy memory objects living in the GPU video memory. These objects, called "GEM objects",[14] are persistent from the user-space program's perspective and don't need to be reloaded every time the program regains control of the GPU. When a user-space program needs a chunk of video memory (to store a framebuffer, texture or any other data required by the GPU[15]), it requests the allocation to the DRM driver using the GEM API. The DRM driver keeps track of the used video memory and is able to comply with the request if there is free memory available, returning a "handle" to user space to further refer the allocated memory in coming operations.[6][14] GEM API also provides operations to populate the buffer and to release it when it is not needed anymore. Memory from unreleased GEM handles gets recovered when the user-space process closes the DRM device file descriptor—intentionally or because it terminates.[16]

GEM also allows two or more user-space processes using the same DRM device (hence the same DRM driver) to share a GEM object.[16] GEM handles are local 32-bit integers unique to a process but repeatable in other processes, therefore not suitable for sharing. What is needed is a global namespace, and GEM provides one through the use of global handles called GEM names. A GEM name refers to one, and only one, GEM object created within the same DRM device by the same DRM driver, by using a unique 32-bit integer. GEM provides an operation flink to obtain a GEM name from a GEM handle.[16][12]:16 The process can then pass this GEM name (32-bit integer) to another process using any IPC mechanism available.[12]:15 The GEM name can be used by the recipient process to obtain a local GEM handle pointing to the original GEM object.

Unfortunately, the use of GEM names to share buffers is not secure.[12]:16[17][18] A malicious third-party process accessing the same DRM device could try to guess the GEM name of a buffer shared by other two processes, simply by probing 32-bit integers.[19][18] Once a GEM name is found, its contents can be accessed and modified, violating the confidentiality and integrity of the information of the buffer. This drawback was overcome later by the introduction of DMA-BUF support into DRM, as DMA-BUF represents buffers in userspace as file descriptors, which may be shared securely.

Another important task for any video-memory management system besides managing the video-memory space is handling the memory synchronization between the GPU and the CPU. Current memory architectures are very complex and usually involve various levels of caches for the system memory and sometimes for the video memory too. Therefore, video-memory managers should also handle the cache coherence to ensure the data shared between CPU and GPU is consistent.[20] This means that often video-memory management internals are highly dependent on hardware details of the GPU and memory architecture, and thus driver-specific.[21]

GEM was initially developed by Intel engineers to provide a video-memory manager for its i915 driver.[20] The Intel GMA 9xx family are integrated GPUs with a Uniform Memory Architecture (UMA), where the GPU and CPU share the physical memory, and there is not a dedicated VRAM.[22] GEM defines "memory domains" for memory synchronization, and while these memory domains are GPU-independent,[6] they are specifically designed with an UMA memory architecture in mind, making them less suitable for other memory architectures like those with a separate VRAM. For this reason, other DRM drivers have decided to expose to user-space programs the GEM API, but internally they implemented a different memory manager better suited for their particular hardware and memory architecture.[23]

The GEM API also provides ioctls for control of the execution flow (command buffers), but they are Intel-specific, to be used with Intel i915 and later GPUs.[6] No other DRM driver has attempted to implement any part of the GEM API beyond the memory-management specific ioctls.

Translation Table Maps

Translation Table Maps (TTM) is the name of the generic memory manager for GPUs that was developed before GEM.[5][14] It was specifically designed to manage the different types of memory that a GPU might access, including dedicated Video RAM (commonly installed in the video card) and system memory accessible through an I/O memory management unit called the Graphics Address Remapping Table (GART).[5] TTM should also handle the portions of the video RAM that are not directly addressable by the CPU and do it with the best possible performance, considering that user-space graphics applications typically work with large amounts of video data. Another important matter was to maintain the consistency between the different memories and caches involved.

The main concept of TTM are the "buffer objects", regions of video memory that at some point must be addressable by the GPU.[5] When a user-space graphics application wants access to a certain buffer object (usually to fill it with content), TTM may require relocating it to a type of memory addressable by the CPU. Further relocations—or GART mapping operations—could happen when the GPU needs access to a buffer object but it isn't in the GPU's address space yet. Each of these relocation operations must handle any related data and cache-coherency issues.[5]

Another important TTM concept is fences. Fences are essentially a mechanism to manage concurrency between the CPU and the GPU.[24] A fence tracks when a buffer object is no longer used by the GPU, generally to notify any user-space process with access to it.[5]

The fact that TTM tried to manage all kind of memory architectures, including those with and without a dedicated VRAM, in a suitable way, and to provide every conceivable feature in a memory manager for use with any type of hardware, led to an overly complex solution with an API far larger than needed.[24][14] Some DRM developers thought that it wouldn't fit well with any specific driver, especially the API. When GEM emerged as a simpler memory manager, its API was preferred over the TTM one. But some driver developers considered that the approach taken by TTM was more suitable for discrete video cards with dedicated video memory and IOMMUs, so they decided to use TTM internally, while exposing their buffer objects as GEM objects and thus supporting the GEM API.[23] Examples of current drivers using TTM as an internal memory manager but providing a GEM API are the radeon driver for AMD video cards and the nouveau driver for NVIDIA video cards.

DMA Buffer Sharing and PRIME

The DMA Buffer Sharing API (often abbreviated as DMA-BUF) is a Linux kernel internal API designed to provide a generic mechanism to share DMA buffers across multiple devices, possibly managed by different types of device drivers.[25][26] For example, a Video4Linux device and a graphics adapter device could share buffers through DMA-BUF to achieve zero-copy of the data of a video stream produced by the first and consumed by the latter. Any Linux device driver can implement this API as exporter, as user (consumer) or both.

This feature was exploited for the first time in DRM to implement PRIME, a solution for GPU offloading that uses DMA-BUF to share the resulting framebuffers between the DRM drivers of the discrete and the integrated GPU.[27]:13 An important feature of DMA-BUF is that a shared buffer is presented to user space as a file descriptor.[14][12]:17 For the development of PRIME two new ioctls were added to the DRM API, one to convert a local GEM handle to a DMA-BUF file descriptor and another for the exact opposite operation.

These two new ioctls were later reused as a way to fix the inherent unsafety of GEM buffer sharing.[12]:17 Unlike GEM names, file descriptors can not be guessed (they are not a global namespace), and Unix operating systems provide a safe way to pass them through a Unix domain socket using the SCM_RIGHTS semantics.[14][28]:11 A process that wants to share a GEM object with another process can convert its local GEM handle to a DMA-BUF file descriptor and pass it to the recipient, which in turn can get its own GEM handle from the received file descriptor.[12]:16 This method is used by DRI3 to share buffers between the client and the X Server[29] and also by Wayland.

Kernel Mode Setting

There must be a "DRM master" in user-space, this program has exclusive access to KMS.

In order to work properly, a video card or graphics adapter must set a mode—a combination of screen resolution, color depth and refresh rate—that is within the range of values supported by itself and the attached display screen. This operation is called mode-setting,[30] and it usually requires raw access to the graphics hardware—i.e. the ability to write to certain registers of the video card display controller.[31][32] A mode-setting operation must be performed before starting to use the framebuffer, and also when the mode is required to change by an application or the user.

In early days, the user space programs that wanted to use the graphical framebuffer were also responsible for providing the mode-setting operations,[3] and therefore they needed to run with privileged access to the video hardware. In Unix-type operating systems, the X Server was the most prominent example, and its mode-setting implementation lived in the DDX driver for each specific type of video card.[33] This approach, later referred as User space Mode-Setting or UMS,[34][35] poses several issues.[36][30] It not only breaks the isolation that operating systems should provide between programs and hardware, raising both stability and security concerns, but also could leave the graphics hardware in an inconsistent state if two or more user space programs try to do the mode-setting at the same time. To avoid these conflicts, the X Server became in practice the only user space program that performed mode-setting operations; the remainder user space programs relied on the X Server to set the appropriate mode and to handle any other operation involving mode-setting. Initially the mode-setting was performed exclusively during the X Server startup process, but later the X Server gained the ability to do it while running.[37] The XFree86-VidModeExtension extension was introduced in XFree86 3.1.2 to let any X client request modeline (resolution) changes to the X Server.[38][39] VidMode extension was later superseded by the more generic XRandR extension.

However, this was not the only code doing mode-setting in a Linux system. During the system booting process, the Linux kernel must set a minimal text mode for the virtual console (based on the standard modes defined by VESA BIOS extensions).[40] Also the Linux kernel framebuffer driver contained mode-setting code to configure framebuffer devices.[2] To avoid mode-setting conflicts, the XFree86 Server—and later the X.Org Server—handled the case when the user switched from the graphical environment to a text virtual console by saving its mode-setting state, and restoring it when the user switched back to X.[41] This process caused an annoying flicker in the transition, and also can fail, leading to a corrupted or unusable output display.[42]

The user space mode setting approach also caused other issues:[43][42]

  • The suspend/resume process has to rely on user space tools to restore the previous mode. One single failure or crash of one of these programs could leave the system without a working display due to a modeset misconfiguration, and therefore unusable.
  • It was also impossible for the kernel to show error or debug messages when the screen was in a graphics mode—for example when X was running—since the only modes the kernel knew about were the VESA BIOS standard text modes.
  • A more pressing issue was the proliferation of graphical applications bypassing the X Server and the emergence of other graphics stack alternatives to X, extending the duplication of mode-setting code across the system even further.

To address these problems, the mode-setting code was moved to a single place inside the kernel, specifically to the existing DRM module.[36][37][44][42][43] Then, every process—including the X Server—should be able to command the kernel to perform mode-setting operations, and the kernel would ensure that concurrent operations don't result in an inconsistent state. The new kernel API and code added to the DRM module to perform these mode-setting operations was called Kernel Mode-Setting (KMS).[30]

Kernel Mode-Setting provides several benefits. The most immediate is of course the removal of duplicate mode-setting code, from both the kernel (Linux console, fbdev) and user space (X Server DDX drivers). KMS also makes it easier to write alternative graphics systems, which now don't need to implement their own mode-setting code.[42][43] By providing centralized mode management, KMS solves the flickering issues while changing between console and X, and also between different instances of X (fast user switching).[41][44] Since it is available in the kernel, it can also be used at the beginning of the boot process, saving flickering due to mode changes in these early stages.

The fact that KMS is part of the kernel allows it to use resources only available at kernel space such as interrupts.[45] For example, the mode recovery after a suspend/resume process simplifies a lot by being managed by the kernel itself, and incidentally improves security (no more user space tools requiring root permissions). The kernel also allows the hotplug of new display devices easily, solving a longstanding problem.[45] Mode-setting is also closely related to memory management—since framebuffers are basically memory buffers—so a tight integration with the graphics memory manager is highly recommended. That's the main reason why the kernel mode-setting code was incorporated into DRM and not as a separate subsystem.[44]

To avoid breaking backwards compatibility of the DRM API, Kernel Mode-Setting is provided as an additional driver feature of certain DRM drivers.[46] Any DRM driver can choose to provide the DRIVER_MODESET flag when it registers with the DRM core to indicate that supports the KMS API.[8] Those drivers that implement Kernel Mode-Setting are often called KMS drivers as a way to differentiate them from the legacy—without KMS—DRM drivers.

KMS has been adopted to such an extent that certain drivers which lack 3D acceleration (or for which the hardware vendor doesn't want to expose or implement it) nevertheless implement the KMS API without the rest of the DRM API, allowing display servers (like Wayland) to run with ease.[47][48]

KMS device model

KMS models and manages the output devices as a series of abstract hardware blocks commonly found on the display output pipeline of a display controller. These blocks are:[49]

  • CRTCs: each CRTC (from CRT Controller[50][33]) represents a scanout engine of the display controller, pointing to a scanout buffer (framebuffer).[49] The purpose of a CRTC is to read the pixel data currently in the scanout buffer and generate from it the video mode timing signal with the help of a PLL circuit.[51] The number of CRTCs available determines how many independent output devices the hardware can handle at the same time, so in order to use multi-head configurations at least one CRTC per display device is required.[49] Two—or more—CRTCs can also work in clone mode if they scan out from the same framebuffer to send the same image to several output devices.[51][50]
  • Connectors: a connector represents where the display controller sends the video signal from a scanout operation to be displayed. Usually, the KMS concept of a connector corresponds to a physical connector (VGA, DVI, FPD-Link, HDMI, DisplayPort, S-Video, ...) in the hardware where an output device (monitor, laptop panel, ...) is permanently or can temporarily be attached. Information related to the current physically attached output device—such as connection status, EDID data, DPMS status or supported video modes—is also stored within the connector.[49]
  • Encoders: the display controller must encode the video mode timing signal from the CRTC using a format suitable for the intended connector.[49] An encoder represents the hardware block able to do one of these encodings. Examples of encodings—for digital outputs—are TMDS and LVDS; for analog outputs such as VGA and TV out, specific DAC blocks are generally used. A connector can only receive the signal from one encoder at a time,[49] and each type of connector only supports some encodings. There also might be additional physical restrictions by which not every CRTC is connected to every available encoder, limiting the possible combinations of CRTC-encoder-connector.
  • Planes: a plane is not a hardware block but a memory object containing a buffer from which a scanout engine (a CRTC) is fed. The plane that holds the framebuffer is called the primary plane, and each CRTC must have one associated,[49] since it's the source for the CRTC to determine the video mode—display resolution (width and height), pixel size, pixel format, refresh rate, etc. A CRTC might have also cursor planes associated to it if the display controller supports hardware cursor overlays, or secondary planes if it's able to scan out from additional hardware overlays and compose or blend "on the fly" the final image sent to the output device.[33]

Atomic Display

In recent years there has been an ongoing effort to bring atomicity to some regular operations pertaining the KMS API, specifically to the mode setting and page flipping operations.[33][52] This enhanced KMS API is what is called Atomic Display (formerly known as atomic mode-setting and atomic or nuclear pageflip).

The purpose of the atomic mode-setting is to ensure a correct change of mode in complex configurations with multiple restrictions, by avoiding intermediate steps which could lead to an inconsistent or invalid video state;[52] it also avoids risky video states when a failed mode-setting process has to be undone ("rollback").[53]:9 Atomic mode-setting allows to know beforehand if certain specific mode configuration is appropriate, by providing mode testing capabilities.[52] When an atomic mode is tested and its validity confirmed, it can be applied with a single indivisible (atomic) commit operation. Both test and commit operations are provided by the same new ioctl with different flags.

Atomic page flip on the other hand allows to update multiple planes on the same output (for instance the primary plane, the cursor plane and maybe some overlays or secondary planes) all synchronized within the same VBLANK interval, ensuring a proper display without tearing.[53]:9,14[52] This requirement is especially relevant to mobile and embedded display controllers, that tend to use multiple planes/overlays to save power.

The new atomic API is built upon the old KMS API. It uses the same model and objects (CRTCs, encoders, connectors, planes, ...), but with an increasing number of object properties that can be modified.[52] The atomic procedure is based on changing the relevant properties to build the state that we want to test or commit. The properties we want to modify depend on whether we want to do a mode-setting (mostly CRTCs, encoders and connectors properties) or page flipping (usually planes properties). The ioctl is the same for both cases, the difference being the list of properties passed with each one.[54]

Render nodes

In the original DRM API, the DRM device /dev/dri/cardX is used for both privileged (modesetting, other display control) and non-privileged (rendering, GPGPU compute) operations.[9] For security reasons, opening the associated DRM device file requires special privileges "equivalent to root-privileges".[55] This leads to an architecture where only some reliable user space programs (the X server, a graphical compositor, ...) have full access to the DRM API, including the privileged parts like the modeset API. Other user space applications that want to render or make GPGPU computations should be granted by the owner of the DRM device ("DRM Master") through the use of a special authentication interface.[56] Then the authenticated applications can render or make computations using a restricted version of the DRM API without privileged operations. This design imposes a severe constraint: there must always be a running graphics server (the X Server, a Wayland compositor, ...) acting as DRM-Master of a DRM device so that other user space programs can be granted the use of the device, even in cases not involving any graphics display like GPGPU computations.[55][56]

The "render nodes" concept tries to solve these scenarios by splitting the DRM user space API into two interfaces – one privileged and one non-privileged – and using separate device files (or "nodes") for each one.[9] For every GPU found, its corresponding DRM driver—if it supports the render nodes feature—creates a device file /dev/dri/renderDX, called the render node, in addition to the primary node /dev/dri/cardX.[56][9] Clients that use a direct rendering model and applications that want to take advantage of the computing facilities of a GPU, can do it without requiring additional privileges by simply opening any existing render node and dispatching GPU operations using the limited subset of the DRM API supported by those nodes—provided they have file system permissions to open the device file. Display servers, compositors and any other program that requires the modeset API or any other privileged operation must open the standard primary node that grants access to the full DRM API and use it as usual. Render nodes explicitly disallow the GEM flink operation to prevent buffer sharing using insecure GEM global names; only PRIME (DMA-BUF) file descriptors can be used to share buffers with another client, including the graphics server.[9][56]

Hardware support

DRM is to be used by user-mode graphics devices driver, like e.g. AMD Catalyst or Mesa 3D. User-space programs use the Linux System Call Interface to access DRM. DRM augments the Linux System Call Interface with own system calls.[57]

The Linux DRM subsystem includes free and open-source drivers to support hardware from the 3 main manufacturers of GPUs for desktop computers (AMD, NVIDIA and Intel), as well as from a growing number of mobile GPU and System on a chip (SoC) integrators. The quality of each driver varies highly, depending on the degree of cooperation by the manufacturer and other matters.

DRM drivers
Driver Since kernel Supported hardware Vendor support Status/Notes
radeon 2.4.1 AMD (formerly ATi) Radeon GPU series with the architectures TeraScale and GCN 1st & 2nd gen. Including models from R100/200/300/400, Radeon X1000, HD 2000/4000/5000/6000/7000/8000, R5/R7/R9 200/300 series and Kaveri APUs. Yes Active
i915 2.6.9 Intel GMA 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, G35, G41, G43, G45 chipsets. Intel HD and Iris Graphics HD Graphics 2000/3000/2500/4000/4200/4400/4600/P4600/P4700/5000, Iris Graphics 5100, Iris Pro Graphics 5200 integrated GPUs. Yes Active
nouveau 2.6.33[58][59] NVIDIA Tesla, Fermi, Kepler, Maxwell based GeForce GPUs, Tegra K1, X1 SoC Partial Active
exynos 3.2[60] Samsung ARM-based Exynos SoCs
vmwgfx 3.2 (from staging)[61] Virtual GPU for the VMware SVGA2 virtual driver
gma500 3.3 (from staging)[62][63] Intel GMA 500 and other Imagination Technologies (PowerVR) based graphics GPUs experimental 2D KMS-only driver
ast 3.5[64] ASpeed Technologies 2000 series experimental
mgag200 3.5[65] Matrox MGA-G200 server display engines KMS-only
shmobile 3.7[66] Renesas SH Mobile
tegra 3.8[67] Nvidia Tegra20, Tegra30 SoCs Yes Active
omapdrm 3.9[68] Texas Instruments OMAP5 SoCs
rcar-du 3.11[69] Renesas R-Car SoC Display Units
msm 3.12[70][71] Qualcomm's Adreno A2xx/A3xx/A4xx GPU families (Snapdragon SOCs)[72]
armada 3.13[73][74] Marvell Armada 510 SoCs
bochs 3.14[75] Virtual VGA cards using the Bochs dispi vga interface (such as QEMU stdvga) virtual driver
sti 3.17[76][77] STMicroelectronics SoC stiH41x series
imx 3.19 (from staging)[78][79] Freescale i.MX SoCs
rockchip 3.19[78][80] Rockchip SoC-based GPUs KMS-only
amdgpu[57] 4.2[81][82] AMD Radeon GPU series with the architectures GCN 3rd & 4th gen. Including models from Radeon Rx 200/300/400/500[83] series and Carrizo and Bristol & Stoney Ridge APUs. Yes Active
virtio 4.2[84] Virtual GPU driver for QEMU based virtual machine managers (like KVM or Xen) virtual driver
vc4 4.4[85][86][87] Raspberry Pi's Broadcom BCM2835 and BCM2836 SoCs (VideoCore IV GPU)
etnaviv 4.5[88][89][90] Vivante GPU cores found in several SoCs such as Marvell ARMADA and Freescale i.MX6 Series
sun4i 4.7[91][92] Allwinner SoCs (ARM Mali-400 GPU)
kirin 4.7[93][92] HiSilicon Kirin hi6220 SoC (ARM Mali 450-MP4 GPU)
mediatek 4.7[94][92] MediaTek MT8173 SoC (Imagination PowerVR GX6250 GPU)
hibmc 4.10[95] HiSilicon hi1710 Huawei iBMC SoC (Silicon Image SM750 GPU core[96]) KMS-only
vkms 4.19[97][98] Software-only model of a KMS driver that is useful for testing and for running X (or similar) on headless machines. virtual driver
lima 5.2[99][100] ARM Mali 4xx GPUs
panfrost 5.2[101][100] ARM Mali Txxx (Midgard) and Gxx (Bifrost) GPUs
vboxvideo 5.2 (from staging)[102][100] Virtual GPU driver for VirtualBox (VBoxVGA GPU) virtual driver
hyperv_drm 5.14[103][104] Virtual GPU driver for Hyper-V synthetic video device virtual driver
simpledrm 5.14[105][106] GPU Driver for firmware-provided framebuffers (UEFI GOP, VESA BIOS Extensions, embedded systems)
ofdrm 6.2[107][108] GPU Driver for Open Firmware framebuffers

There is also a number of drivers for old, obsolete hardware detailed in the next table for historical purposes. Some of them still remain in the kernel code, but most have been already removed.

Historic DRM drivers
Driver Since kernel Supported hardware Status/Notes
gamma 2.3.18 3Dlabs GLINT GMX 2000 Removed since 2.6.14[109]
ffb 2.4 Creator/Creator3D (used by Sun Microsystems Ultra workstations) Removed since 2.6.21[110]
tdfx 2.4 3dfx Banshee/Voodoo3+
mga 2.4 Matrox G200/G400/G450
r128 2.4 ATI Rage 128
i810 2.4 Intel i810
sis 2.4.17 SiS 300/630/540
i830 2.4.20 Intel 830M/845G/852GM/855GM/865G Removed since 2.6.39[111] (replaced by i915 driver)
via 2.6.13[112] VIA Unichrome / Unichrome Pro
savage 2.6.14[113] S3 Graphics Savage 3D/MX/IX/4/SuperSavage/Pro/Twister

Development

The Direct Rendering Manager is developed within the Linux kernel, and its source code resides in the /drivers/gpu/drm directory of the Linux source code. The subsystem maintainer is Dave Airlie, with other maintainers taking care of specific drivers.[114] As usual in the Linux kernel development, DRM submaintainers and contributors send their patches with new features and bug fixes to the main DRM maintainer which integrates them into its own Linux repository. The DRM maintainer in turn submits all of these patches that are ready to be mainlined to Linus Torvalds whenever a new Linux version is going to be released. Torvalds, as top maintainer of the whole kernel, holds the last word on whether a patch is suitable or not for inclusion in the kernel.

For historical reasons, the source code of the libdrm library is maintained under the umbrella of the Mesa project.[115]

History

In 1999, while developing DRI for XFree86, Precision Insight created the first version of DRM for the 3dfx video cards, as a Linux kernel patch included within the Mesa source code.[116] Later that year, the DRM code was mainlined in Linux kernel 2.3.18 under the /drivers/char/drm/ directory for character devices.[117] During the following years the number of supported video cards grew. When Linux 2.4.0 was released in January 2001 there was already support for Creative Labs GMX 2000, Intel i810, Matrox G200/G400 and ATI Rage 128, in addition to 3dfx Voodoo3 cards,[118] and that list expanded during the 2.4.x series, with drivers for ATI Radeon cards, some SiS video cards and Intel 830M and subsequent integrated GPUs.

The split of DRM into two components, DRM core and DRM driver, called DRM core/personality split was done during the second half of 2004,[11][119] and merged into kernel version 2.6.11.[120] This split allowed multiple DRM drivers for multiple devices to work simultaneously, opening the way to multi-GPU support.

The idea of putting all the video mode setting code in one place inside the kernel had been acknowledged for years,[121][122] but the graphics card manufacturers had argued that the only way to do the mode-setting was to use the routines provided by themselves and contained in the Video BIOS of each graphics card. Such code had to be executed using x86 real mode, which prevented it from being invoked by a kernel running in protected mode.[44] The situation changed when Luc Verhaegen and other developers found a way to do the mode-setting natively instead of BIOS-based,[123][44] showing that it was possible to do it using normal kernel code and laying the groundwork for what would become Kernel Mode Setting. In May 2007 Jesse Barnes (Intel) published the first proposal for a drm-modesetting API and a working native implementation of mode-setting for Intel GPUs within the i915 DRM driver.[42] In December 2007 Jerome Glisse started to add the native mode-setting code for ATI cards to the radeon DRM driver.[124][125] Work on both the API and drivers continued during 2008, but got delayed by the necessity of a memory manager also in kernel space to handle the framebuffers.[126]

In October 2008 the Linux kernel 2.6.27 brought a major source code reorganization, prior to some significant upcoming changes. The DRM source code tree was moved to its own source directory /drivers/gpu/drm/ and the different drivers were moved into their own subdirectories. Headers were also moved into a new /include/drm directory.[127]

The increasing complexity of video memory management led to several approaches to solving this issue. The first attempt was the Translation Table Maps (TTM) memory manager, developed by Thomas Hellstrom (Tungsten Graphics) in collaboration with Emma Anholt (Intel) and Dave Airlie (Red Hat).[5] TTM was proposed for inclusion into mainline kernel 2.6.25 in November 2007,[5] and again in May 2008, but was ditched in favor of a new approach called Graphics Execution Manager (GEM).[24] GEM was first developed by Keith Packard and Emma Anholt from Intel as simpler solution for memory management for their i915 driver.[6] GEM was well received and merged into the Linux kernel version 2.6.28 released in December 2008.[128] Meanwhile, TTM had to wait until September 2009 to be finally merged into Linux 2.6.31 as a requirement of the new Radeon KMS DRM driver.[129]

With memory management in place to handle buffer objects, DRM developers could finally add to the kernel the already finished API and code to do mode setting. This expanded API is what is called Kernel Mode-setting (KMS) and the drivers which implement it are often referred to as KMS drivers. In March 2009, KMS was merged into the Linux kernel version 2.6.29,[30][130] along with KMS support for the i915 driver.[131] The KMS API have been exposed to user space programs since libdrm 2.4.3.[132] The userspace X.Org DDX driver for Intel graphics cards was also the first to use the new GEM and KMS APIs.[133] KMS support for the radeon DRM driver was added to Linux 2.6.31 release of September 2009.[134][135][136] The new radeon KMS driver used the TTM memory manager but exposed GEM-compatible interfaces and ioctls instead of TTM ones.[23]

Since 2006 the nouveau project had been developing a free software DRM driver for NVIDIA GPUs outside of the official Linux kernel. In 2010 the nouveau source code was merged into Linux 2.6.33 as an experimental driver.[58][59] At the time of merging, the driver had been already converted to KMS, and behind the GEM API it used TTM as its memory manager.[137]

The new KMS API—including the GEM API—was a big milestone in the development of DRM, but it didn't stop the API for being enhanced in the following years. KMS gained support for page flips in conjunction with asynchronous VBLANK notifications in Linux 2.6.33[138][139]—only for the i915 driver, radeon and nouveau added it later during Linux 2.6.38 release.[140] The new page flip interface was added to libdrm 2.4.17.[141] In early 2011, during the Linux 2.6.39 release cycle, the so-called dumb buffers—a hardware-independent non-accelerated way to handle simple buffers suitable for use as framebuffers—were added to the KMS API.[142][143] The goal was to reduce the complexity of applications such as Plymouth that don't need to use special accelerated operations provided by driver-specific ioctls.[144] The feature was exposed by libdrm from version 2.4.25 onwards.[145] Later that year it also gained a new main type of objects, called planes. Planes were developed to represent hardware overlays supported by the scanout engine.[146][147] Plane support was merged into Linux 3.3.[148] and libdrm 2.4.30. Another concept added to the API—during Linux 3.5[149] and libdrm 2.4.36[150] releases—were generic object properties, a method to add generic values to any KMS object. Properties are specially useful to set special behaviour or features to objects such as CRTCs and planes.

An early proof of concept to provide GPU offloading between DRM drivers was developed by Dave Airlie in 2010.[7][151] Since Airlie was trying to mimic the NVIDIA Optimus technology, he decided to name it "PRIME".[7] Airlie resumed his work on PRIME in late 2011, but based on the new DMA-BUF buffer sharing mechanism introduced by Linux kernel 3.3.[152] The basic DMA-BUF PRIME infrastructure was finished in March 2012[153] and merged into the Linux 3.4 release,[154][155][156] as well as into libdrm 2.4.34.[157] Later during the Linux 3.5 release, several DRM drivers implemented PRIME support, including i915 for Intel cards, radeon for AMD cards and nouveau for NVIDIA cards.[158][159]

In recent years, the DRM API has incrementally expanded with new and improved features. In 2013, as part of GSoC, David Herrmann developed the multiple render nodes feature.[55] His code was added to the Linux kernel version 3.12 as an experimental feature[160][161] supported by i915,[162] radeon[163] and nouveau[164] drivers, and enabled by default since Linux 3.17.[77] In 2014 Matt Roper (Intel) developed the universal planes (or unified planes) concept by which framebuffers (primary planes), overlays (secondary planes) and cursors (cursor planes) are all treated as a single type of object with an unified API.[165] Universal planes support provides a more consistent DRM API with fewer, more generic ioctls.[33] In order to maintain the API backwards compatible, the feature is exposed by DRM core as an additional capability that a DRM driver can provide. Universal plane support debuted in Linux 3.15[166] and libdrm 2.4.55.[167] Several drivers, such as the Intel i915,[168] have already implemented it.

The most recent DRM API enhancement is the atomic mode-setting API, which brings atomicity to the mode-setting and page flipping operations on a DRM device. The idea of an atomic API for mode-setting was first proposed in early 2012.[169] Ville Syrjälä (Intel) took over the task of designing and implementing such atomic API.[170] Based on his work, Rob Clark (Texas Instruments) took a similar approach aiming to implement atomic page flips.[171] Later in 2013 both proposed features were reunited in a single one using a single ioctl for both tasks.[172] Since it was a requirement, the feature had to wait for the support of universal planes to be merged in mid-2014.[168] During the second half of 2014 the atomic code was greatly enhanced by Daniel Vetter (Intel) and other DRM developers[173]:18 in order to facilitate the transition for the existing KMS drivers to the new atomic framework.[174] All of this work was finally merged into Linux 3.19[175] and Linux 4.0[176][177][178] releases, and enabled by default since Linux 4.2.[179] libdrm exposed the new atomic API since version 2.4.62.[180] Multiple drivers have already been converted to the new atomic API.[181] By 2018 ten new DRM drivers based on this new atomic model had been added to the Linux kernel.[182]

Adoption

The Direct Rendering Manager kernel subsystem was initially developed to be used with the new Direct Rendering Infrastructure of the XFree86 4.0 display server, later inherited by its successor, the X.Org Server. Therefore, the main users of DRM were DRI clients that link to the hardware-accelerated OpenGL implementation that lives in the Mesa 3D library, as well as the X Server itself. Nowadays DRM is also used by several Wayland compositors, including Weston reference compositor. kmscon is a virtual console implementation that runs in user space using DRM KMS facilities.[183]

In 2015, version 358.09 (beta) of the proprietary Nvidia GeForce driver received support for the DRM mode-setting interface implemented as a new kernel blob called nvidia-modeset.ko. This new driver component works in conjunction with the nvidia.ko kernel module to program the display engine (i.e. display controller) of the GPU.[184]

See also

References

  1. "Linux kernel/drivers/gpu/drm/README.drm". kernel.org. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/README.drm. 
  2. 2.0 2.1 Uytterhoeven, Geert. "The Frame Buffer Device". https://www.kernel.org/doc/Documentation/fb/framebuffer.txt. 
  3. 3.0 3.1 3.2 White, Thomas. "How DRI and DRM Work". http://www.bitwiz.org.uk/s/how-dri-and-drm-work.html. 
  4. Faith, Rickard E. (11 May 1999). "The Direct Rendering Manager: Kernel Support for the Direct Rendering Infrastructure". http://dri.sourceforge.net/doc/drm_low_level.html. 
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 Corbet, Jonathan (6 November 2007). "Memory management for graphics processors". https://lwn.net/Articles/257417/. 
  6. 6.0 6.1 6.2 6.3 6.4 6.5 6.6 Packard, Keith; Anholt, Eric (13 May 2008). "GEM - the Graphics Execution Manager". dri-devel mailing list. https://lwn.net/Articles/283798/. 
  7. 7.0 7.1 7.2 Airlie, Dave (12 March 2010). "GPU offloading - PRIME - proof of concept". http://airlied.livejournal.com/71734.html. 
  8. 8.0 8.1 8.2 8.3 8.4 Kitching, Simon. "DRM and KMS kernel modules". http://moi.vonos.net/linux/drm-and-kms/. 
  9. 9.0 9.1 9.2 9.3 9.4 Herrmann, David (1 September 2013). "Splitting DRM and KMS device nodes". http://dvdhrm.wordpress.com/2013/09/01/splitting-drm-and-kms-device-nodes/. 
  10. "README.rst - mesa/drm - Direct Rendering Manager headers and kernel modules". 2020-03-21. https://cgit.freedesktop.org/mesa/drm/tree/README.rst. 
  11. 11.0 11.1 Airlie, Dave (4 September 2004). "New proposed DRM interface design". dri-devel (Mailing list).
  12. 12.0 12.1 12.2 12.3 12.4 12.5 12.6 Peres, Martin; Ravier, Timothée (2 February 2013). "DRI-next/DRM2: A walkthrough the Linux Graphics stack and its security". http://phd.mupuf.org/files/fosdem2013_drinext_drm2.pdf. 
  13. Høgsberg, Kristian (4 September 2008). "The DRI2 Extension - Version 2.0". http://www.x.org/releases/X11R7.5/doc/dri2proto/dri2proto.txt. 
  14. 14.0 14.1 14.2 14.3 14.4 14.5 Barnes, Jesse; Pinchart, Laurent; Vetter, Daniel; Wunner, Lukas. "Linux GPU Driver Developer's Guide - Memory management". https://dri.freedesktop.org/docs/drm/gpu/drm-mm.html. 
  15. Vetter, Daniel. "i915/GEM Crashcourse by Daniel Vetter". https://01.org/linuxgraphics/blogs/vivijim/2012/i915/gem-crashcourse-daniel-vetter. ""GEM essentially deals with graphics buffer objects (which can contain textures, renderbuffers, shaders, or all kinds of other state objects and data used by the gpu)"" 
  16. 16.0 16.1 16.2 Vetter, Daniel (4 May 2011). "GEM Overview". http://blog.ffwll.ch/2011/05/gem-overview.html. 
  17. Packard, Keith (28 September 2012). "Thoughts about DRI.Next". http://keithp.com/blogs/DRI-Next/. ""GEM flink has lots of issues. The flink names are global, allowing anyone with access to the device to access the flink data contents."" 
  18. 18.0 18.1 Herrmann, David (2 July 2013). "DRM Security". http://www.x.org/wiki/Events/XDC2013/XDC2013DavidHerrmannDRMSecurity/DRM_SECURITY. "gem-flink doesn't provide any private namespaces to applications and servers. Instead, only one global namespace is provided per DRM node. Malicious authenticated applications can attack other clients via brute-force "name-guessing" of gem buffers" 
  19. Kerrisk, Michael (25 September 2012). "XDC2012: Graphics stack security". https://lwn.net/Articles/517375/. 
  20. 20.0 20.1 Packard, Keith (4 July 2008). "gem update". http://keithp.com/blogs/gem_update/. 
  21. "drm-memory man page". http://manpages.ubuntu.com/manpages/trusty/man7/drm-memory.7.html. ""Many modern high-end GPUs come with their own memory managers. They even include several different caches that need to be synchronized during access. [...] . Therefore, memory management on GPUs is highly driver- and hardware-dependent."" 
  22. "Intel Graphics Media Accelerator Developer's Guide". Intel Corporation. https://software.intel.com/sites/default/files/ae/4e/15732. 
  23. 23.0 23.1 23.2 Larabel, Michael (26 August 2008). "A GEM-ified TTM Manager For Radeon". https://www.phoronix.com/scan.php?page=news_item&px=NjY3Ng. 
  24. 24.0 24.1 24.2 Corbet, Jonathan (28 May 2008). "GEM v. TTM". https://lwn.net/Articles/283793/. 
  25. Corbet, Jonathan (11 January 2012). "DMA buffer sharing in 3.3". https://lwn.net/Articles/474819/. 
  26. Clark, Rob; Semwal, Sumit. "DMA Buffer Sharing Framework: An Introduction". http://elinux.org/images/a/a8/DMA_Buffer_Sharing-_An_Introduction.pdf. 
  27. Peres, Martin (26 September 2014). "The Linux graphics stack, Optimus and the Nouveau driver". http://phd.mupuf.org/files/kr2014.pdf. 
  28. Pinchart, Laurent (20 February 2013). "Anatomy of an Embedded KMS Driver". http://elinux.org/images/0/0f/Elc2013_Pinchart.pdf. 
  29. Edge, Jake (9 October 2013). "DRI3 and Present". https://lwn.net/Articles/569701/. 
  30. 30.0 30.1 30.2 30.3 "Linux 2.6.29 - Kernel Modesetting". http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1. 
  31. "VGA Hardware". http://wiki.osdev.org/VGA_Hardware. 
  32. Rathmann, B. (15 February 2008). "The state of Nouveau, part I". https://lwn.net/Articles/269558/. ""Graphics cards are programmed in numerous ways, but most initialization and mode setting is done via memory-mapped IO. This is just a set of registers accessible to the CPU via its standard memory address space. The registers in this address space are split up into ranges dealing with various features of the graphics card such as mode setup, output control, or clock configuration."" 
  33. 33.0 33.1 33.2 33.3 33.4 Paalanen, Pekka (5 June 2014). "From pre-history to beyond the global thermonuclear war". http://ppaalanen.blogspot.de/2014/06/from-pre-history-to-beyond-global.html. 
  34. "drm-kms man page". http://manpages.ubuntu.com/manpages/trusty/man7/drm-kms.7.html. 
  35. Corbet, Jonathan (13 January 2010). "The end of user-space mode setting?". https://lwn.net/Articles/369706/. 
  36. 36.0 36.1 "Mode Setting Design Discussion". http://www.x.org/wiki/ModeSetting/. 
  37. 37.0 37.1 Corbet, Jonathan (22 January 2007). "LCA: Updates on the X Window System". https://lwn.net/Articles/218380/. 
  38. "XF86VIDMODE manual page". http://www.x.org/releases/X11R7.7/doc/man/man3/XF86VM.3.xhtml. 
  39. "X11R6.1 Release Notes". 14 March 1996. http://www.x.org/wiki/X11R6.1/. 
  40. Corbet, Jonathan (20 July 2004). "Kernel Summit: Video Drivers". https://lwn.net/Articles/94202/. 
  41. 41.0 41.1 "Fedora - Features/KernelModeSetting". https://fedoraproject.org/wiki/Features/KernelModesetting. ""Historically, the X server was responsible for saving output state when it started up, and then restoring it when it switched back to text mode. Fast user switching was accomplished with a VT switch, so switching away from the first user's X server would blink once to go to text mode, then immediately blink again to go to the second user's session."" 
  42. 42.0 42.1 42.2 42.3 42.4 Barnes, Jesse (17 May 2007). "[RFC] enhancing the kernel's graphics subsystem". linux-kernel (Mailing list).
  43. 43.0 43.1 43.2 "DrmModesetting - Enhancing kernel graphics". http://dri.freedesktop.org/wiki/DrmModesetting/. 
  44. 44.0 44.1 44.2 44.3 44.4 Packard, Keith (16 September 2007). "kernel-mode-drivers". http://keithp.com/blogs/kernel-mode-drivers/. 
  45. 45.0 45.1 Packard, Keith (24 April 2000). "Sharpening the Intel Driver Focus". http://keithp.com/blogs/Sharpening_the_Intel_Driver_Focus/. "A more subtle limitation is that the driver couldn't handle interrupts, so there wasn't any hot-plug monitor support." 
  46. Barnes, Jesse; Pinchart, Laurent; Vetter, Daniel; Wunner, Lukas. "Linux GPU Driver Developer's Guide - Driver Initialization". https://dri.freedesktop.org/docs/drm/gpu/drm-internals.html#driver-features. 
  47. "q3k (@q3k@hackerspace.pl)" (in en). 2023-01-31. https://social.hackerspace.pl/@q3k/109783347119397449. "DRM/KMS driver fully working now, although still without DMA. Oh, and it's written in Rust, although it's mostly just full of raw unsafe blocks." 
  48. "q3k (@q3k@hackerspace.pl)" (in en). 2023-01-31. https://social.hackerspace.pl/@q3k/109785149255867298. "Cool thing is, since we have a 'normal' DRM/KMS driver (and help from @emersion@hackerspace.pl) we can just do things like... run Wayland! Weston on an iPod Nano 5G." 
  49. 49.0 49.1 49.2 49.3 49.4 49.5 49.6 Barnes, Jesse; Pinchart, Laurent; Vetter, Daniel; Wunner, Lukas. "Linux GPU Driver Developer's Guide - KMS Initialization and Cleanup". https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#kms-initialization-and-cleanup. 
  50. 50.0 50.1 "Video Cards". http://xorg.freedesktop.org/wiki/Development/Documentation/HowVideoCardsWork/. 
  51. 51.0 51.1 Deucher, Alex (15 April 2010). "Notes about radeon display hardware". http://www.botchco.com/agd5f/?p=51. 
  52. 52.0 52.1 52.2 52.3 52.4 Vetter, Daniel (5 August 2015). "Atomic mode setting design overview, part 1". https://lwn.net/Articles/653071/. 
  53. 53.0 53.1 Reding, Thierry (1 February 2015). "Atomic Mode-Setting". https://archive.fosdem.org/2015/schedule/event/kms_atomic/attachments/slides/740/export/events/attachments/kms_atomic/slides/740/atomic_modesetting.pdf. 
  54. Vetter, Daniel (12 August 2015). "Atomic mode setting design overview, part 2". https://lwn.net/Articles/653466/. 
  55. 55.0 55.1 55.2 Herrmann, David (29 May 2013). "DRM Render- and Modeset-Nodes". http://dvdhrm.wordpress.com/2013/05/29/drm-render-and-modeset-nodes/. 
  56. 56.0 56.1 56.2 56.3 Barnes, Jesse; Pinchart, Laurent; Vetter, Daniel; Wunner, Lukas. "Linux GPU Driver Developer's Guide - Render nodes". https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#render-nodes. 
  57. 57.0 57.1 Deucher, Alex (20 April 2015). "Initial amdgpu driver release". dri-devel (Mailing list).
  58. 58.0 58.1 "Linux 2.6.33 - Nouveau, a driver for Nvidia graphic cards". http://kernelnewbies.org/Linux_2_6_33#head-ef4ca9ac1fa7bdec15f40718c2cf216b4f3c9472. 
  59. 59.0 59.1 "drm/nouveau: Add DRM driver for NVIDIA GPUs". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6ee738610f41b59733f63718f0bdbcba7d3a3f12. 
  60. "DRM: add DRM Driver for Samsung SoC EXYNOS4210.". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1c248b7d2960faec3e1b8f3f9c5d9d0df28e0a3c. 
  61. "vmwgfx: Take the driver out of staging". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5a7b74beca675968f612ad6188808ed67ac58e36. 
  62. "Linux 3.3 - DriverArch - Graphics". http://kernelnewbies.org/Linux_3.3_DriverArch#head-55c126b70d6e61f4496629a7f19a3be36d1ea84a. 
  63. Larabel, Michael (10 January 2012). "The Linux 3.3 DRM Pull Is Heavy On Enhancements". https://www.phoronix.com/scan.php?page=news_item&px=MTA0MDk. 
  64. "drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=312fec1405dd546ddb3fa6387d54e78f604dd8f8. 
  65. Airlie, Dave (17 May 2012). "mgag200: initial g200se driver (v2)". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=414c453106255b11df77ed6b08eedb6d2369c338. 
  66. "drm: Renesas SH Mobile DRM driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51c1327876f35d61c8bdd81fc96e1b501c9380ee. 
  67. "drm: Add NVIDIA Tegra20 support". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8f4a9eda006788d8054b8500d9eb5b6efcd8755. 
  68. "drm/omap: move out of staging". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8bb0daffb0b8e45188066255b4203446eae181f1. 
  69. "drm: Renesas R-Car Display Unit DRM driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4bf8e1962f91eed5dbee168d2348983dda0a518f. 
  70. "drm/msm: basic KMS driver for snapdragon". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c8afe684c95cd17cf4f273d81af369a0fdfa5a74. 
  71. Larabel, Michael (28 August 2013). "Snapdragon DRM/KMS Driver Merged For Linux 3.12". https://www.phoronix.com/scan.php?page=news_item&px=MTQ0NzQ. 
  72. Edge, Jake (8 April 2015). "An update on the freedreno graphics driver". https://lwn.net/Articles/638908/. 
  73. King, Russell (18 October 2013). "[GIT PULL] Armada DRM support". dri-devel (Mailing list).
  74. "DRM: Armada: Add Armada DRM driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=96f60e37dc66091bde8d5de136ff6fda09f2d799. 
  75. "drm/bochs: new driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0a6659bdc5e8221da99eebb176fd9591435e38de. 
  76. Larabel, Michael (8 August 2014). "Linux 3.17 DRM Pull Brings New Graphics Driver". https://www.phoronix.com/scan.php?page=news_item&px=MTc1NzY. 
  77. 77.0 77.1 Corbet, Jonathan (13 August 2014). "3.17 merge window, part 2". https://lwn.net/Articles/608434/. 
  78. 78.0 78.1 Corbet, Jonathan (17 December 2014). "3.19 Merge window part 2". https://lwn.net/Articles/626150/. 
  79. "drm: imx: Move imx-drm driver out of staging". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6556f7f82b9c401950d703072c0d8137b6f9f516. 
  80. "drm: rockchip: Add basic drm driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2048e3286f347db5667708e47448176b5329e8d8#diff-ed4f42f4bcd152f16e2ba81c4c5fda03. 
  81. Larabel, Michael (25 June 2015). "Linux 4.2 DRM Updates: Lots Of AMD Attention, No Nouveau Driver Changes". https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.2-Kernel-DRM. 
  82. Corbet, Jonathan (1 July 2015). "4.2 Merge window part 2". https://lwn.net/Articles/649652/. 
  83. Deucher, Alex (3 August 2015). "[PATCH 00/11] Add Fiji Support". dri-devel (Mailing list).
  84. "Add virtio gpu driver.". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc5698e80cf724770283e10414054662bdf6ccfa. 
  85. Corbet, Jonathan (11 November 2015). "4.4 Merge window, part 1". https://lwn.net/Articles/663742/. 
  86. Larabel, Michael (15 November 2015). "A Look At The New Features Of The Linux 4.4 Kernel". https://www.phoronix.com/scan.php?page=article&item=linux-44-features&num=1. 
  87. "drm/vc4: Add KMS support for Raspberry Pi.". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c8b75bca92cbf064b9fa125fc74a85994452e935. 
  88. "Linux 4.5-DriversArch - Graphics". http://kernelnewbies.org/Linux_4.5-DriversArch#head-bf8f7e938057931a7faa7e22547a108c01aba222. 
  89. Larabel, Michael (24 January 2016). "The Many New Features & Improvements Of The Linux 4.5 Kernel". https://www.phoronix.com/scan.php?page=article&item=linux-45-features&num=1. 
  90. Corbet, Jonathan (20 January 2016). "4.5 merge window part 2". https://lwn.net/Articles/672344/. 
  91. "Merge tag 'sun4i-drm-for-4.7'". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d3a8f6784a9cb47c344073624491e571ff1616ec. 
  92. 92.0 92.1 92.2 Airlie, Dave (23 May 2016). "[git pull] drm for v4.7". dri-devel (Mailing list).
  93. "Merge tag 'drm-hisilicon-next-2016-04-29'". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4946dd2e14d252cd04e188ed6a4b794541d1c3ce. 
  94. "Merge tag 'mediatek-drm-2016-05-09'". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2e726dc4b4e2dd3ae3fe675f9d3af88a2d593ee1. 
  95. Larabel, Michael (22 November 2016). "Hisilicon Hibmc DRM Driver Being Added For Linux 4.10". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Hisilicon-Hibmc-DRM-Linux-4.10. 
  96. "Huawei FusionServer RH5885 V3 Technical White Paper". 18 November 2016. http://e-file.huawei.com/en/material/MaterialDownload?materialid=77d7cd3156c646abbcbaaa20cd4f0358. "uses an onboard display chip that is integrated into the management chip Hi1710 and uses the IP core of the SM750" 
  97. "drm/vkms: Introduce basic VKMS driver". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c7c5fd916a0ff66501467f1e8e79d3ff8eca112. 
  98. Larabel, Michael (15 August 2018). "Virtual Kernel Mode-Setting Driver Being Added To Linux 4.19". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Virtual-KMS-VKMS-Linux-4.19. 
  99. "kernel/git/torvalds/linux.git - Linux kernel source tree". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/lima?id=a1d2a6339961efc078208dc3b2f006e9e9a8e119. 
  100. 100.0 100.1 100.2 Larabel, Michael (9 May 2019). "Linux 5.2 DRM Makes Icelake Production-Ready, Adds Lima & Panfrost Drivers". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.2-DRM-Update. 
  101. "kernel/git/torvalds/linux.git - Linux kernel source tree". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/panfrost?id=f3ba91228e8e917e5bd6c4b72bfe846933d17370. 
  102. "drm/vboxvideo: Move the vboxvideo driver out of staging". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=131abc56e1bacef23cb7b340519d36e2f5adb2a9. 
  103. "drm/hyperv: Add DRM driver for hyperv synthetic video device". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76c56a5affeba1e163b66b9d8cc192e6154466f0. 
  104. Larabel, Michael (9 June 2021). "Microsoft's Hyper-V DRM Display Driver Will Land For Linux 5.14". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.14-Hyper-V-Display. 
  105. "drm: Add simpledrm driver". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=11e8f5fd223bd4d33fa10527bad3fe48469a15df. 
  106. Larabel, Michael (13 May 2021). "Linux 5.14 To Bring SimpleDRM Driver, VC4 HDR, Marks More AGP Code As Legacy". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.14-Initial-DRM-Misc. 
  107. "drm/ofdrm: Add ofdrm for Open Firmware framebuffers". https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c8a17756c42581ba1a567d1dd3b69e8f5619a7d8. 
  108. Larabel, Michael (20 October 2022). "Open Firmware DRM Driver "OFDRM" Queuing For Linux 6.2". Phoronix. https://www.phoronix.com/news/Linux-6.2-OFDRM. 
  109. "drm: remove the gamma driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1fad99499afdd2730adb1d53413b91580b1f0662. 
  110. "[DRM: Delete sparc64 FFB driver code that never gets built"]. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b82f87f6d40f944a591d8d36c0fed2d4374efcb7. 
  111. "drm: remove i830 driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7f50684717511d30bba180902105c4cd4efca732. 
  112. "drm: Add via unichrome support". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=22f579c621e2f264e6d093b07d75f99bc97d5df2. 
  113. "drm: add savage driver". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=282a16749ba63256bcdce2766817f46aaac4dc20. 
  114. "List of maintainers of the linux kernel". https://www.kernel.org/doc/linux/MAINTAINERS. 
  115. "libdrm git repository". http://cgit.freedesktop.org/mesa/drm/. 
  116. "First DRI release of 3dfx driver.". http://cgit.freedesktop.org/mesa/drm/commit/?id=b6a28bfe98f2c89cfb91079bd3c7b63fb0144eb1. 
  117. "Import 2.3.18pre1". http://repo.or.cz/w/davej-history.git/commit/9af6f6e4860e86507da2d470dd6a3bee34bf58c2. 
  118. Torvalds, Linus. "Linux 2.4.0 source code". https://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.0.tar.gz. 
  119. Airlie, Dave (30 December 2004). "[bk pull] drm core/personality split". linux-kernel (Mailing list).
  120. Torvalds, Linus (11 January 2005). "Linux 2.6.11-rc1". linux-kernel (Mailing list).
  121. Gettys, James; Packard, Keith (15 June 2004). "The (Re)Architecture of the X Window System". http://keithp.com/~keithp/talks/xarch_ols2004/xarch-ols2004-html/. 
  122. Smirl, Jon (30 August 2005). "The State of Linux Graphics". https://sites.google.com/site/jonsmirl/graphics. "I believe the best solution to this problem is for the kernel to provide a single, comprehensive device driver for each piece of video hardware. This means that conflicting drivers like fbdev and DRM must be merged into a cooperating system. It also means that poking hardware from user space while a kernel based device driver is loaded should be prevented." 
  123. Verhaegen, Luc (2 March 2006). "X and Modesetting: Atrophy illustrated". https://people.freedesktop.org/~libv/X_and_Modesetting_-_Atrophy_illustrated_%28paper%29.pdf. 
  124. Glisse, Jerome (4 December 2007). "Radeon kernel modesetting". http://jglisse.livejournal.com/852.html. 
  125. Larabel, Michael (1 October 2008). "The State of Kernel Mode-Setting". https://www.phoronix.com/scan.php?page=article&item=xorg_kms_2008&num=1. 
  126. Packard, Keith (21 July 2008). "X output status july 2008". http://keithp.com/blogs/X_output_status_july_2008/. 
  127. "drm: reorganise drm tree to be more future proof". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c0e09200dc0813972442e550a5905a132768e56c. 
  128. "Linux 2.6.28 - The GEM Memory Manager for GPU memory". http://kernelnewbies.org/Linux_2_6_28#head-b957b19f6139b6bbbfabaf790bf643b1746985d6. 
  129. "drm: Add the TTM GPU memory manager subsystem.". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ba4e7d973dd09b66912ac4c0856add8b0703a997. 
  130. "DRM: add mode setting support". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f453ba0460742ad027ae0c4c7d61e62817b3e7ef. 
  131. "DRM: i915: add mode setting support". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=79e539453b34e35f39299a899d263b0a1f1670bd. 
  132. Anholt, Eric (22 December 2008). "[ANNOUNCE] libdrm-2.4.3". dri-devel (Mailing list).
  133. Barnes, Jesse (20 October 2008). "[ANNOUNCE] xf86-video-intel 2.5.0". xorg-announce (Mailing list).
  134. "Linux 2.6.31 - ATI Radeon Kernel Mode Setting support". http://kernelnewbies.org/Linux_2_6_31#head-78158343fc06e5e289f2ccaf51d6a30090a46524. 
  135. Torvalds, Linus (9 September 2009). "Linux 2.6.31". linux-kernel (Mailing list).
  136. "drm/radeon: introduce kernel modesetting for radeon hardware". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=771fe6b912fca54f03e8a72eb63058b582775362. 
  137. "The irregular Nouveau Development Companion #40". https://nouveau.freedesktop.org/wiki/Nouveau_Companion_40/. 
  138. "Linux 2.6.33 - Graphic improvements". http://kernelnewbies.org/Linux_2_6_33#head-7b9aa9665c31092b57f38ae4ee0c3627172cdf1b. 
  139. "drm/kms: add page flipping ioctl". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d91d8a3f88059d93e34ac70d059153ec69a9ffc7. 
  140. "Linux 2.6.38 - Graphics". http://kernelnewbies.org/Linux_2_6_38-DriversArch#head-647f92e38d919f452ea858999f3ece9ccc6f46df. 
  141. Airlie, Dave (21 December 2009). "[ANNOUNCE] libdrm 2.4.17". dri-devel (Mailing list).
  142. "drm: dumb scanout create/mmap for intel/radeon (v3)". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ff72145badb834e8051719ea66e024784d000cb4. 
  143. "Linux 2 6 39-DriversArch". http://kernelnewbies.org/Linux_2_6_39-DriversArch#head-94ecdcc82ca5e98eb1d56c20c0ef1a1274737078. 
  144. Barnes, Jesse; Pinchart, Laurent; Vetter, Daniel; Wunner, Lukas. "Linux GPU Driver Developer's Guide - Dumb Buffer Objects". https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#dumb-buffer-objects. 
  145. Wilson, Chris (11 April 2011). "[ANNOUNCE] libdrm 2.4.25". dri-devel (Mailing list).
  146. Barnes, Jesse (25 April 2011). "[RFC] drm: add overlays as first class KMS objects". dri-devel (Mailing list).
  147. Barnes, Jesse (13 May 2011). "[RFC] drm: add overlays as first class KMS objects". dri-devel (Mailing list).
  148. "drm: add plane support v3". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8cf5c9177151537e73ff1816540e4ba24b174391. 
  149. "drm: add generic ioctls to get/set properties on any object". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c543188afb7a83e66161c026dc6fd5eb38dc0b63. 
  150. Widawsky, Ben (27 June 2012). "[ANNOUNCE] libdrm 2.4.36". xorg-announce (Mailing list).
  151. Larabel, Michael. "Proof Of Concept: Open-Source Multi-GPU Rendering!". https://www.phoronix.com/scan.php?page=news_item&px=ODA1OQ. 
  152. Larabel, Michael (23 February 2012). "DRM Base PRIME Support Part Of VGEM Work". https://www.phoronix.com/scan.php?page=news_item&px=MTA2MTM. 
  153. Airlie, Dave (27 March 2012). "[PATCH] drm: base prime/dma-buf support (v5)". dri-devel (Mailing list).
  154. Larabel, Michael (30 March 2012). "Last Minute For Linux 3.4: DMA-BUF PRIME Support". https://www.phoronix.com/scan.php?page=news_item&px=MTA3OTQ. 
  155. "drm: base prime/dma-buf support (v5)". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3248877ea1796915419fba7c89315fdbf00cb56a. 
  156. "Linux 3.4 DriverArch". http://kernelnewbies.org/Linux_3.4_DriverArch. 
  157. Anholt, Eric (10 May 2012). "[ANNOUNCE] libdrm 2.4.34". dri-devel (Mailing list).
  158. Larabel, Michael (12 May 2012). "DMA-BUF PRIME Coming Together For Linux 3.5". https://www.phoronix.com/scan.php?page=news_item&px=MTEwMjA. 
  159. "Linux 3.5 DriverArch". http://kernelnewbies.org/Linux_3.5_DriverArch. 
  160. Corbet, Jonathan (11 September 2013). "3.12 merge window, part 2". https://lwn.net/Articles/566122/. 
  161. "drm: implement experimental render nodes". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1793126fcebd7c18834f95d43b55e387a8803aa8. 
  162. "drm/i915: Support render nodes". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10ba50129ab0bdbc0ee712e50913d1c8db88c5f0. 
  163. "drm/radeon: Support render nodes". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f33bcab9e816c5bf56b74c3007790f2a256910eb. 
  164. "drm/nouveau: Support render nodes". https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7d7612582c15af8772c2fb2473d5fc7eebfefae2. 
  165. Roper, Matt (7 March 2014). "[RFCv2 00/10] Universal plane support". dri-devel (Mailing list).
  166. Larabel, Michael (2 April 2014). "Universal Plane Support Set For Linux 3.15". https://www.phoronix.com/scan.php?page=news_item&px=MTY1MTg. 
  167. Lankhorst, Maarten (25 July 2014). "[ANNOUNCE] libdrm 2.4.55". dri-devel (Mailing list).
  168. 168.0 168.1 Vetter, Daniel (7 August 2014). "Neat stuff for 3.17". http://blog.ffwll.ch/2014/08/neat-stuff-for-317.html. 
  169. Barnes, Jesse (15 February 2012). "[RFC] drm: atomic mode set API". dri-devel (Mailing list).
  170. Syrjälä, Ville (24 May 2012). "[RFC][PATCH 0/6] WIP: drm: Atomic mode setting idea". dri-devel (Mailing list).
  171. Clark, Rob (9 September 2012). "[RFC 0/9] nuclear pageflip". dri-devel (Mailing list).
  172. Clark, Rob (6 October 2013). "[RFCv1 00/12] Atomic/nuclear modeset/pageflip". dri-devel (Mailing list).
  173. Vetter, Daniel (3 February 2016). "Embrace the Atomic Display Age". https://people.freedesktop.org/~danvet/presentations/lca-2016.pdf. 
  174. Vetter, Daniel (2 November 2014). "Atomic Modeset Support for KMS Drivers". http://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html. 
  175. Airlie, Dave (14 December 2014). "[git pull] drm for 3.19-rc1". dri-devel (Mailing list).
  176. Vetter, Daniel (28 January 2015). "Update for Atomic Display Updates". http://blog.ffwll.ch/2015/01/update-for-atomic-display-updates.html. 
  177. Airlie, Dave (15 February 2015). "[git pull] drm pull for 3.20-rc1". dri-devel (Mailing list).
  178. "Linux 4.0 - DriverArch - Graphics". http://kernelnewbies.org/Linux_4.0-DriversArch#head-bd65a3376f9359d60c2230cfc06625a9849139bb. 
  179. "Linux 4.2 - Atomic modesetting API enabled by default". http://kernelnewbies.org/Linux_4.2#head-a3780edb904ea47c235cd6a4b226539228d50e17. 
  180. Velikov, Emil (29 June 2015). "[ANNOUNCE] libdrm 2.4.62". dri-devel (Mailing list).
  181. Vetter, Daniel (6 June 2016). "Awesome Atomic Advances". http://blog.ffwll.ch/2016/06/awesome-atomic-advances.html. "right now there's 17 drivers supporting atomic modesetting merged into the DRM subsystem" 
  182. Stone, Daniel (20 March 2018). "A new era for Linux's low-level graphics - Part 1". https://www.collabora.com/news-and-blog/blog/2018/03/20/a-new-era-for-linux-low-level-graphics-part-1/. 
  183. Herrmann, David (10 December 2012). "KMSCON Introduction". http://dvdhrm.wordpress.com/2012/12/10/kmscon-introduction/. 
  184. "Linux, Solaris, and FreeBSD driver 358.09 (beta)". 2015-12-10. https://devtalk.nvidia.com/default/topic/884727/linux-solaris-and-freebsd-driver-358-09-beta-/?offset=1. 

External links