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. 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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Freedreno Gallium3D Now Banging The Adreno A3XX
  2. Jolla Announces Their First Phone
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. NetBSD 6.1 Brings In More Features
  5. Using Six Monitors With AMD's Open-Source Linux Driver
  6. Benchmarking The Intel P-State, CPUfreq Changes
  7. FreeBSD Still Working On Next-Gen Package Manager
  8. DNF Still Advancing As Experimental Yum For Fedora
  9. Logitech Begins Supporting Linux Users
  10. Modern Intel Gallium3D Driver Still Being Toyed With
  11. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
Latest Forum Talk
  1. Benchmarking The Intel P-State, CPUfreq Changes
  2. Mageia 3 Released, Still Using Legacy GRUB
  3. The Cost Of Ubuntu Disk Encryption
  4. Jolla Announces Their First Phone
  5. Freedreno Gallium3D Now Banging The Adreno A3XX
  6. Using Six Monitors With AMD's Open-Source Linux...
  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