Kernel Mode-Setting With The Glint Driver

Posted by Michael Larabel on June 18, 2010

Earlier this month we reported on the ATI R300 GLSL compiler improvements being worked on as part of a Google Summer of Code (GSoC) project for X.Org, but how are their other 2010 projects progressing by these student developers? There's five GSoC X.Org projects in total this year and last night we received a bit of an update on the kernel mode-setting (KMS) efforts for porting the Glint driver.

For those that don't recall the scope of this KMS summer project or what the Glint driver is, the goal is to provide kernel mode-setting support for the Permedia 3 and Permedia 4 graphics cards. Right now the X.Org support is provided via user-space mode-setting in the Glint DDX driver. These old OpenGL-capable graphics processors from 3Dlabs are very rare to find these days seeing as they have been out for more than a decade, but under Linux they shall have KMS support for anyone who still uses such a GPU on an antiquated system.

The kernel mode-setting work is being done on the 3Dlabs Permedia 3/4 since writing a kernel driver for a very old graphics processor is much simpler than writing one for a modern GPU, especially over the course of a summer. While this KMS Glint support will be of direct benefit to almost no individuals, the GSoC developer hopes to better document the KMS driver writing process, which could help other developers down the road in targeting new hardware. Of course, with there already being KMS support for Intel, ATI/AMD, and NVIDIA hardware, even then new KMS drivers will really be targeting minority users.

Matt Turner, the student developer working on this 3Dlabs Glint KMS support, has all of his DRM-side code found in this personal kernel repository. Matt has started filling in some of the needed functions for enabling kernel-space mode-setting support, but is a bit uncertain regarding the next step(s) with his KMS support upbringing, so here is his mailing list message with where he is at on this DRM driver. With kernel mode-setting support, Matt needs to add kernel memory management support (via GEM/TTM is to be expected), which still needs to be tackled too. After the Glint KMS driver is up and running, Matt will turn his attention to documenting the process and providing some KMS driver writing tutorials.

If you are interested in more on the history of kernel mode-setting for Linux, this week we posted the slides by Egbert Eich from the Berlin LinuxTag.

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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Ubuntu Announces Carrier Advisory Group
  2. Qt 5.1 Release Candidate 1 Has Arrived
  3. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  4. Subversion 1.8 Presents New Features
  5. LLVM 3.3 Officially Released
  6. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  7. Intel GPU Driver Tries To Rip Out FBDEV Support
  8. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  9. VP9 Codec Now Enabled By Default In Chrome
  10. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  11. Debian 7.1 Rounds In Some Bug-Fixes
Latest Forum Talk
  1. Mir Still Causing Concerns By Ubuntu Derivatives
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Ubuntu Announces Carrier Advisory Group
  4. Intel Haswell-Based Apple MacBook Air, HD 5000...
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. Vote for GOG to add Linux versions of games they...
  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