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

AMD Video BIOS Disassembler Released

Michael Larabel

Published on 8 January 2009
Written by Michael Larabel
Page 1 of 1 - 1 Comment

Just a little more than a week after AMD openly released R600/700 GPU code to begin development of an open-source 3D driver for their ATI Radeon HD 2000/3000/4000 hardware, a disassembler and table dumper for their video BIOS abstraction layer has been released to developers. This tool called AtomDis was used early on in the development of the RadeonHD driver by Novell and is now being released under the GNU GPLv2 license to assist interested open-source developers or act as an instrument to those learning about graphics processor programming.

AtomDis serves as a BIOS disassembler and table dumper to the AtomBIOS, which is the video BIOS abstraction layer used on ATI GPUs since around the R400 series. The AtomBIOS and debate over its usage was what originally caused the two competing drivers (xf86-video-ati and xf86-video-radeonhd) for the same hardware up until the RadeonHD driver ended up adopting AtomBIOS for use in supporting newer ATI GPUs as they were under pressure from Advanced Micro Devices.

Previously AMD released an open-source AtomBIOS parser for use by the X.Org graphics drivers. In July of last year they released a new AtomBIOS parser that would be ideal for entering the mainline Linux kernel in order to provide ATI kernel mode-setting support. Besides that, however, the low-level code to AtomBIOS has not been open-sourced and because of that was one of the reasons it was initially rejected by the Novell developers working on the RadeonHD driver. In 2007 there was a project started by an independent X.Org developer to create an open-source ATI BIOS by reverse-engineering AtomBIOS, but that project hasn't materialized.

Running AtomDis just requires the header file from the AtomBIOS parser source-code found in the RadeonHD driver and then a video BIOS image. The video BIOS off ATI GPUs can be dumped using the rhd_conntest utility that is also found within the xf86-video-radeonhd repository. When executing AtomDis the AtomBIOS image must be loaded along with a command to dump information on AtomBIOS, list all AtomBIOS tables, create a hex dump, data table dump, command table disassembler, table disassembler, and the last option is a full sanitized dump. Contained in AtomBIOS tables is data for PowerPlay, LVDS details, firmware information, GPU initialization, and many other areas of GPU programming.

For developers or those with any other interest in learning about AtomBIOS can use Git to clone git://people.freedesktop.org/~mhopf/AtomDis.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Even With Re-Clocking, Nouveau Remains Behind NVIDIA's Proprietary Linux Driver
  2. The Power Consumption & Efficiency Of Open-Source GPU Drivers
  3. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  4. Intel Pentium G3258 On Linux
Latest Linux Articles
  1. AMD Catalyst 14.6 Does Slightly Better With APITest OpenGL Tests
  2. Updated Source Engine Benchmarks On The Latest AMD/NVIDIA Linux Drivers
  3. Nouveau vs. Radeon vs. Intel Tests On Linux 3.16, Mesa 10.3-devel
  4. KVM Benchmarks On Ubuntu 14.10
Latest Linux News
  1. KDE 4.14 Release Candidate Ships
  2. Drivers & Drama Dominated Linux Talk In July
  3. Fedora Assembles A Security Team
  4. AMD Launches The A10-7800, The 65 Watt Kaveri
  5. Builder: A New Development IDE Being Built For GNOME
  6. GDB 7.8 Betters Python Scripting, Adds Guile Support
  7. GNOME's GTK+ Is Still Striving For A Scene Graph, Canvas API
  8. Unreal Tournament Looks Great For Team Deathmatch
  9. LibreOffice 4.3 Released With Many Exciting Changes
  10. GNOME/GTK On Wayland Gains Focus At GUADEC
Latest Forum Discussions
  1. Grand Theft Auto Running On Direct3D Natively On Linux Shows Gallium3D Potential
  2. Debian + radeonsi
  3. AMD Publishes Open-Source Linux HSA Kernel Driver
  4. Linus Torvalds On GCC 4.9: Pure & Utter Crap
  5. Open-source drivers on ATI R7 260X
  6. AMD Athlon 5350 APU On Linux
  7. Updated and Optimized Ubuntu Free Graphics Drivers
  8. List of Linux friendly Kickstarter projects