Radeon KMS, New TTM Code Works But Needs Testing

Written by Michael Larabel in X.Org on 30 April 2009 at 09:06 AM EDT. 55 Comments
X.ORG
It has been a while since Jerome Glisse last had any major public announcements, but this morning he is calling for those using the open-source ATI Linux graphics stack to checkout the latest code. Kernel mode-setting for ATI Radeon hardware should now be working atop the new TTM-based memory management code.

Jerome along with Alex Deucher, David Airlie, and other X.Org developers have been busy getting ATI kernel mode-setting ready for mainline inclusion hopefully at some point this year (perhaps 2.6.31 or 2.6.32). For their in-kernel memory management they are not using solely the Graphics Execution Manager that was developed by Intel, but instead they are using a GEM-ified TTM manager. Internally they are using a form of Tungsten's TTM but to the user-space they expose the GEM API. The TTM code that the open-source ATI developers are using is based upon the newttm work which hopefully will be ready to be pushed into the mainline Linux kernel soon. The Nouveau developers with memory management are working in a similar way.

Jerome reports that this latest DRM, Mesa, DDX driver, and Mesa Radeon Rewrite driver are working quite well. With kernel mode-setting he has even experienced proper suspend-and-resume when suspending while playing Quake 3 in a composited environment.

Similar to Intel's performance problems after all of the invasive changes, this new code is not currently running as fast as their traditional stack. There are already a few items, however, on their agenda to hopefully boost the performance beyond their original performance levels by improving buffer tiling and swapping along with other memory optimizations.

For information on how to test out this new Radeon kernel mode-setting code with new TTM memory management support can be found on Jerome's blog.
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