-
由 Matthew Garrett 提交于
Mantas Mikulėnas reported that his graphics hardware failed to initialise after commit f9a37be0 ("x86: Use PCI setup data"). The aim of this commit was to ensure that ROM images were available on some Apple systems that don't expose the GPU ROM via any other source. In this case, UEFI appears to have provided a broken ROM image that we were using even though there was a perfectly valid ROM available via other sources. The simplest way to handle this seems to be to just re-order pci_map_rom() and leave any firmare-supplied ROM to last. Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com> Tested-by: NMantas Mikulėnas <grawity@gmail.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
547b5246