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. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. Intel Adds BPTC Texture Compression To Their Mesa Driver
  2. The Linux Kernel Bang-Bang Thermal Governor Is Banging
  3. NVIDIA Releases K1-Powered Shield Tablet & Controller
  4. Xen Project Announces Mirage OS 2.0
  5. Canonical Community Team Changes Announced For Ubuntu
  6. Raspberry Pi B+ ARM Debian Benchmarks
  7. Mozilla Unleashes Firefox 31 Web Browser
  8. GCC 5.0 Is Expected Next Year
  9. PHP5's Successor Might Be PHP7
  10. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
Latest Forum Discussions
  1. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  2. Open-Source Radeon Performance Boosted By Linux 3.16
  3. In Road To Qt, Audacious Switches From GTK3 Back To GTK2
  4. Debian + Steam + r600
  5. Next-Gen OpenGL To Be Announced Next Month
  6. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  7. Updated and Optimized Ubuntu Free Graphics Drivers
  8. AMD Publishes Open-Source Linux HSA Kernel Driver