1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Killing DRM Graphics Cruft With Fire

Linux Kernel

Published on 27 October 2011 07:40 AM EDT
Written by Michael Larabel in Linux Kernel
22 Comments

It seems to be a good time to clean-up the Linux graphics driver stack. After old hardware support was dropped in Mesa in August, more Mesa code was dropped, and most recently the classic ATI R300/R600 drivers are to be killed (this is set to happen this Friday). Now Intel's Daniel Vetter is chopping up some DRM code.

Daniel Vetter, one of Intel's newest OSTC employees working on the Linux graphics stack (he just officially joined in September but has been around for a bit longer than that in the Linux world), has pushed 23 patches to the DRI mailing list that would remove more than 1,000 lines of code from the DRM area of the Linux kernel tree. Those affected by this "kill drm cruft with fire" action will largely be VIA and SiS. It's about removing old code from DRM.

Daniel's patch-set completely kills off "drm_sman", which was a simple memory manager interface for DRM that was created by Thomas Hellström during the Tungsten Graphics days (2006). The VIA and SiS DRM components are now using drm_mm instead of drm_sman, plus have received minor other reworks. Even the DRM Savage driver has received a few tiny tweaks. This is sadly the most work these ancient and largely unsupported drivers have received in a while, even though these patches today aren't really significant and just "cleaning the house."

DMA queue support has also been dropped in Daniel's patches since the support is now unused. Also killed off is the procfs (/proc/dri) support for DRM, since debugfs and sysfs interfaces have already been around for years and are the primary targets.

Daniel's patches begin here.

Latest Linux Hardware Reviews
  1. Overclocking The AMD AM1 Athlon & Sempron APUs
  2. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  3. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
  4. AMD Athlon 5350 APU On Linux
Latest Linux Articles
  1. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  2. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
  3. GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries
  4. DDR3 Memory Scaling Performance With AMD's Athlon 5350
Latest Linux News
  1. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  2. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  3. Red Hat Releases Its RHEL 7 Release Candidate
  4. New Features Coming To Xubuntu 14.04 LTS
  5. NVIDIA Officially Releases CUDA 6
  6. Google Releases An AutoFDO Converter For Perf In LLVM
  7. Fedora 21 To Evaluate Remote Journal Logging, 64-bit ARM Emulation
  8. Star Citizen Will Be Coming To Linux
  9. Ubuntu 14.10 Convergence To Focus On Replacing Core Apps
  10. The Results Of Optimizing Radeon's VRAM Behavior
  11. Kernel Developers Discuss Improving Kernel Configurations
  12. Apple, LLVM Developers Figure Out Their 64-Bit ARM Approach
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  3. Bye bye BSD, Hello Linux: A Sys Admin's Story
  4. New tool for undervolt/overclock AMD K8L and K10 processors
  5. How to enable opengl 3.3 on r9 270?
  6. R290x sound problems
  7. radeon-profile: tool for changing profiles and monitoring some GPU parameters
  8. Torvalds Is Unconvinced By LTO'ing A Linux Kernel