PCI resources above 4GB
Yinghai Lu
yinghai at kernel.org
Sun Apr 15 23:54:56 PDT 2012
On Sun, Apr 15, 2012 at 1:06 PM, Yinghai Lu <yinghai at kernel.org> 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
Yinghai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rom_option.patch
Type: application/octet-stream
Size: 1672 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120415/78abbf24/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rom_option_1.patch
Type: application/octet-stream
Size: 2253 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120415/78abbf24/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_rom.patch
Type: application/octet-stream
Size: 4306 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120415/78abbf24/attachment-0005.obj>
More information about the dri-devel
mailing list