Opened 6 years ago

Last modified 5 years ago

#10505 new enhancement

radeon_hd needs ACPI support for finding the AtomBIOS

Reported by: kallisti5 Owned by: tqh
Priority: normal Milestone: R1
Component: Drivers/Graphics/radeon_hd Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Radeon HD devices can stash their AtomBIOS in the ATRM ACPI node. We should try and obtain a copy there first before attempting other methods.

The location this needs done in is:

Defines of the AMD ACPI methods are here:

ATRM contains the AtomBIOS (or points to it, not 100% how that works)

At the moment, a lot of cards that should be using the ATRM node are falling back to my Video shadow bios hack (0xC0000) which can be unreliable.

Change History (2)

comment:1 by tqh, 6 years ago

This needs to be done:

  • Get ACPI module.
  • Find ACPI handle for card.
  • Find ATRM function under card.
  • Execute ATRM to get BIOS.

If anyone fails fallthrough to next way of getting firmware.

Possibly we need to do like Linux that calls ATRM with offset into bios as first param and length to read as second. Reading the BIOS is done with several calls with chunks that are ATRM page size until 256 * 1024 bytes are read.

comment:2 by phoudoin, 5 years ago

Could someone with such card could post its /dev/acpi/namespace please ?

Version 0, edited 5 years ago by phoudoin (next)
Note: See TracTickets for help on using tickets.