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. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  2. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  3. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  4. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
Latest Linux News
  1. NTP Is The Latest Project Struck By Security Issues
  2. LDC 0.15.1 Released For A D Compiler In LLVM
  3. Fedora Doesn't Yet Enable F2FS File-System Support
  4. XZ 5.2 Adds New Multi-Threaded Options
  5. Intel 2.99.917 X.Org Driver Released, 3.0 Release Finally Near
  6. Server-Side XCB Is Being Discussed For The X.Org Server
  7. Adreno A4xx Rendering With Freedreno Takes Shape
  8. Linux 3.19-rc1 Kernel Released Ahead Of Schedule
  9. X.Org Server 1.16.3 Released To Fix Security Issues
  10. Linux 3.19 Merge Window Closes Ahead Of Schedule
Latest Forum Discussions
  1. Need some hand holding with upgrading xserver
  2. Maker3D - create your 3D RPG
  3. FPS capped on Linux (AMD fglrx drivers)
  4. Looking for an nVidia GPU, but not sure how well they are supported.
  5. Speeding up systemd networking service
  6. Major Performance Breakthrough Discovered For Intel's Mesa Driver
  7. Are there an app using HSA ?
  8. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems