AMD Releases New AtomBIOS Parser

Published on July 25, 2008
Written by Michael Larabel
Page 1 of 1
Discuss This Article

Last September AMD had provided an open-source AtomBIOS parser for use by the RadeonHD driver in order to communicate with this video BIOS abstraction layer found on the past few generations of ATI graphics cards. While we are still waiting on the R600 sample source-code and 3D register documentation to arrive, AMD has today released a new AtomBIOS parser. This parser is coming out of their KGrids project, which we have previously mentioned in the past, and will allow for a clean AtomBIOS parser to enter the Linux kernel.

KGrids is an internal project at AMD used by their engineers in creating a simple kernel driver and testing environment used prior to having the silicon for future graphics processors becoming available. KGrids is also quite similar to another internal AMD project, TCore, which we have been talking about for the past several months. Both KGrids and TCore are on AMD's road map for being open-sourced in order to assist community developers in enabling 2D/3D acceleration for the R600 and RV770 series. This new AtomBIOS parser is just a subset of the total code used by KGrids.

The package for this parser is called kgrids-atom and is made up of merely one C file and three header files. In total there are just under 1,400 lines of code.

What does this new parser deliver to interested developers? Well, it's a lot cleaner than the AtomBIOS parser currently in use by the xf86-video-radeonhd and xf86-video-ati drivers. This parser doesn't deliver any new features or performance improvements, but it's in a much cleaner state to be submitted for inclusion into the Linux kernel.

With ATI AtomBIOS support in the kernel, this will be used for Kernel-based Mode-Setting. Speaking with AMD's Alex Deucher, the current DDX drivers could adopt this new driver, but that would be just added work with little to no end-user benefits. In addition, this code is less tested than the current AtomBIOS parser.

If you are interested in checking out the source-code to kgrids-atom, it can be downloaded from X.Org. We are now one (albeit small) step closer to kernel mode-setting for ATI graphics!

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. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Modern Intel Gallium3D Driver Still Being Toyed...
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Benchmarking The Intel P-State, CPUfreq Changes
  6. Jolla Announces Their First Phone
  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