Opened 9 years ago

Last modified 7 years ago

#11443 new bug

AtomBIOS search needs to be more robust

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

Description

radeon_hd is failing to find the AtomBIOS on too many cards. While #10505 (ATRM support) may be the cause for some of the issues, the code needs reviewed.

Below are a few sample failures.

Change History (3)

comment:1 by kallisti5, 9 years ago

Radeon HD 5650. RADEON_REDWOOD , DCE 4.0

KERN: radeon_hd: init_driver: GPU(0) Radeon HD 5650, revision = 0x0
KERN: radeon_hd: publish_devices
KERN: radeon_hd: find_device
KERN: radeon_hd: device_open: open(name = graphics/radeon_hd_010000)
KERN: radeon_hd: card(0): radeon_hd_init: called
KERN: radeon_hd: radeon_hd_init: card(0): Radeon Redwood 1002:68C1
KERN: radeon_hd: radeon_hd_init: shrinking frame buffer to PCI bar...
KERN: radeon_hd: radeon_hd_init: mapping a frame buffer of 256MB out of 1024MB video ram
KERN: radeon_hd: card(0): radeon_hd_getbios: called
KERN: radeon_hd: radeon_hd_getbios: ACPI ATRM AtomBIOS TODO
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 0 at 0x0
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xE0000000 [size: 0x40000]
KERN: radeon_hd: mapAtomBIOS: BIOS signature incorrect @ 0xE0000000 (0)
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 1 at 0xE0000000
KERN: radeon_hd: radeon_hd_getbios: PCI ROM decode enabled
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xF0000000 [size: 0x20000]
KERN: radeon_hd: mapAtomBIOS: BIOS signature incorrect @ 0xF0000000 (0)
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 2 at 0xF0000000
KERN: radeon_hd: radeon_hd_getbios: Active AtomBIOS search failed.
KERN: radeon_hd: card(0): radeon_hd_getbios_r700: called
KERN: radeon_hd: radeon_hd_getbios_r700: PCI ROM decode enabled
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xF0000000 [size: 0x20000]
KERN: radeon_hd: mapAtomBIOS: BIOS signature incorrect @ 0xF0000000 (0)
KERN: radeon_hd: radeon_hd_init: Can't find an AtomBIOS rom! Trying shadow rom...
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xC0000 [size: 0x20000]
KERN: radeon_hd: mapAtomBIOS: AtomBIOS verified and locked
KERN: radeon_hd: radeon_hd_init: Found AtomBIOS at VGA shadow rom
KERN: radeon_hd: card(0): radeon_hd_init didn't find VESA EDID modes.
KERN: radeon_hd: card(0): radeon_hd_init completed successfully!
KERN: radeon_hd: card(0): GPU thermal status: 63C
KERN: radeon_hd: device_ioctl: accelerant: radeon_hd.accelerant
KERN: radeon_hd: radeon_init_accelerant enter
KERN: radeon_hd: radeon_dump_bios: Dumping AtomBIOS as ATOM_DEBUG is set...
KERN: radeon_hd: radeon_dump_bios: AtomBIOS dumped to /boot/system/cache/tmp/radeon_hd_bios_1002_68c1_0.bin
KERN: radeon_hd: radeon_init_bios: AtomBIOS is already posted
KERN: radeon_hd: radeon_gpu_probe: table 2.1

comment:2 by kallisti5, 9 years ago

Radeon HD 6310, RADEON_PALM APU DCE 4.1

KERN: radeon_hd: init_driver: GPU(0) Radeon HD 6310, revision = 0x0
KERN: radeon_hd: publish_devices
KERN: radeon_hd: find_device
KERN: radeon_hd: device_open: open(name = graphics/radeon_hd_000100)
KERN: radeon_hd: card(0): radeon_hd_init: called
KERN: radeon_hd: radeon_hd_init: card(0): Radeon Palm 1002:9802
KERN: radeon_hd: radeon_hd_init: shrinking frame buffer to PCI bar...
KERN: radeon_hd: radeon_hd_init: mapping a frame buffer of 256MB out of 384MB video ram
KERN: radeon_hd: card(0): radeon_hd_getbios: called
KERN: radeon_hd: radeon_hd_getbios: ACPI ATRM AtomBIOS TODO
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 0 at 0x0
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xE0000000 [size: 0x40000]
KERN: radeon_hd: mapAtomBIOS: BIOS signature incorrect @ 0xE0000000 (0)
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 1 at 0xE0000000
KERN: radeon_hd: radeon_hd_getbios: No base found at PCI ROM BAR
KERN: radeon_hd: radeon_hd_getbios: AtomBIOS not found using active method 2 at 0x0
KERN: radeon_hd: radeon_hd_getbios: Active AtomBIOS search failed.
KERN: radeon_hd: card(0): radeon_hd_getbios_r700: called
KERN: radeon_hd: radeon_hd_getbios_r700: No AtomBIOS location found at PCI ROM BAR
KERN: radeon_hd: radeon_hd_init: Can't find an AtomBIOS rom! Trying shadow rom...
KERN: radeon_hd: mapAtomBIOS: seeking AtomBIOS @ 0xC0000 [size: 0x20000]
KERN: radeon_hd: mapAtomBIOS: AtomBIOS verified and locked
KERN: radeon_hd: radeon_hd_init: Found AtomBIOS at VGA shadow rom
KERN: radeon_hd: card(0): radeon_hd_init found VESA EDID information.
KERN: radeon_hd: card(0): radeon_hd_init completed successfully!
KERN: radeon_hd: card(0): GPU thermal status: 0C
KERN: radeon_hd: device_ioctl: accelerant: radeon_hd.accelerant
KERN: radeon_hd: radeon_init_accelerant enter
KERN: radeon_hd: radeon_dump_bios: Dumping AtomBIOS as ATOM_DEBUG is set...
KERN: radeon_hd: radeon_dump_bios: AtomBIOS dumped to /boot/system/cache/tmp/radeon_hd_bios_1002_9802_0.bin
KERN: radeon_hd: radeon_init_bios: AtomBIOS is already posted

comment:3 by michaelvoliveira, 7 years ago

Radeon R7 360 device_id 0x665f

Note: See TracTickets for help on using tickets.