On Sun, Apr 15, 2012 at 11:54 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On Sun, Apr 15, 2012 at 1:06 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: >>> 3. use pci_bus_allocate_resource in drm/radeon driver ... ===> but >>> that could fail. >>> so could hack it like a. disable bar 0x10 and steal BAR address, >>> then set 0x30 to that address then copy ROM to ram. >>> after that, disable rom again and set back address to 0x10. >>> You try to update radeon_get_bios() to achieve that. > > patches for solution 3: > map_rom.patch will try to borrow mem or mem pref bar for ROM copying > > and You still need to use pci=norom map_rom.patch missed one ! Please check map_rom_v2.patch Thanks Yinghai
Attachment:
map_rom_v2.patch
Description: Binary data
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel