How-To Bang On VIA Hardware With Linux KMS

Posted by Michael Larabel on March 07, 2012

Here's a video by James Simmons, the community developer that's near single-handedly been working on providing VIA kernel mode-setting (KMS) support and in-kernel memory management (via a GEM-ified TTM implementation), talking about the Linux KMS and GEM/TTM infrastructures for those wishing to learn more about Linux graphics driver programming.

James Simmons has been working on the new VIA DRM driver for more than a year to provide proper KMS and GEM/TTM support for VIA graphics hardware. This is while VIA is not providing any official support or doing anything for their open-source strategy. James is working with the OpenChrome driver community to overhaul the open-source VIA stack, but he's been the one doing the bulk of the work within the stagnate community.

Last June at the Southeast Linux Fest (SELF2011) he talked about his work on the VIA driver programming, in particular about GEM/TTM and KMS in general. The video from that talk -- and the other Southeast Linux Fest talks from last June -- are finally now available. For anyone interested, they're available on YouTube. Simmons' talk though seems to be the only really interesting video.

He doesn't break any news during his talk or anything too exciting, but he goes over the interface and structures for GEM and TTM memory management along with KMS. If you have stayed up to date on the hundreds of Phoronix articles on the topic, or are already a graphics driver programmer, there isn't too much to gain from the hour-long presentation. If you're interested in watching this video from last year, it's embedded below.


Separately, this past Tuesday James Simmons wrote a mailing list status update about his OpenChrome KMS work. He still has his VIA goals for this summer, while accomplished recently were fixing issues with the build-system on multiple platforms, general bug-fixes (including data corruption), and other items. In particular, there's improved mapping between outputs and CRTCs, VGA monitor output is now working from his VIA laptop, EXA fixes, and more. The EXA 2D acceleration component though still using the classic approach to managing memory and still needs much more work before it's properly hooked-up to take advantage of TTM/GEM. Hopefully VIA hardware will still be around by the time the new open-source VIA kernel driver support reaches a state where it's ready for the mainline kernel.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. OpenSUSE Considers Replacing LXDE With E17
  3. Using Six Monitors With AMD's Open-Source Linux...
  4. Sumo Lounge Emperor
  5. BHyVe: A New Hypervisor Coming To FreeBSD 10.0
  6. Benchmarking The Intel P-State, CPUfreq Changes
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite