New DDX X.Org Server API Changes Are Pushed

Written by Michael Larabel in X.Org on 24 May 2012 at 01:35 AM EDT. 8 Comments
X.ORG
The first step of the X.Org Server API changes for the DDX drivers to allow for some more modern GPU driver functionality has landed in the mainline Git repository for the xorg-server.

At the beginning of last week I mentioned that a new X.Org Server API for drivers is coming that is the start of the work David Airlie has been doing to support GPU offloading (via DMA-BUF PRIME), USB device hot-plugging for graphics, and GPU switching between drivers for an active X.Org Server sessions, among other benefits. While the first set of API changes have landed, more work still needs to be pushed before all of the pieces of the puzzle for these much sought after features are landed and ready for use.

The patches by David Airlie began to land into the xorg-server this week, e.g. here, here, etc. With it hitting Git master of the xorg-server, the API changes will be introduced in the X.Org Server 1.13 release, which is scheduled for release in September.

These merged server-side patches are initially what had a hard time being reviewed, but eventually a few other X.Org developers took the time to review and sign-off on them.

With the xorg-server changes in place, support for the API changes have begun to propagate into the main DDX drivers. David Airlie has followed-up by committing support for the API changes to the DDX drivers. It begins by adding a new API compatibility header, using the new screen conversion APIs, and then compatibility for the new server API. It's a few hundred lines of changes, but compatibility with older X.Org Servers is maintained and there's a script to do much of the work automatically. This has happened already for the xf86-video-intel, xf86-video-ati, and xf86-video-nouveau drivers.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week