Xorg driver explanation on Linux?

Bridgman, John John.Bridgman at amd.com
Tue Sep 7 06:52:33 PDT 2010


The xorg drivers run in userspace, called by the X server. Where things get confusing is that they can be written to operate in at least different ways.

Basic 2d-only drivers can directly access the hardware from userspace for both modesetting and acceleration, and can run without a kernel driver. This was the norm 10-15 years ago and many drivers can still fall back to this mode.

Drivers from a few years ago tend to access modesetting hardware from userspace but go through a kernel driver for acceleration, allowing the acceleration hardware to be shared with a separate 3d driver. Using the kernel driver to coordinate access to acceleration hardware is part of the Direct Rendering Infrastructure (DRI).

The most recent xorg drivers use the kernel driver for essentially all hardware accesses, including modesetting. Moving modesetting into the kernel driver was an initiative called (predictably) Kernel ModeSetting or KMS.

________________________________
From: xorg-bounces+john.bridgman=amd.com at lists.freedesktop.org <xorg-bounces+john.bridgman=amd.com at lists.freedesktop.org>
To: xorg at lists.freedesktop.org <xorg at lists.freedesktop.org>
Sent: Tue Sep 07 09:29:04 2010
Subject: Xorg driver explanation on Linux?

Hello,

It looks like Xorg drivers on Linux platform are NOT kernel modules.
Could someone explain, or better point some brief document - what these Xorg drivers are and how they are implemented ?
(some call them Xorg modules)

thanks
Vilius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20100907/254a9702/attachment.html>


More information about the xorg mailing list