drm/nouveau/bios: attempt acpi rom fetch before pcirom
authorBen Skeggs <bskeggs@redhat.com>
Sun, 4 Mar 2012 07:05:54 +0000 (17:05 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:15:01 +0000 (17:15 +1000)
There's cards out there with completely messed up PCIROM images that have
a perfectly valid signature.. Sigh!

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index e5cbead85e50b602d1950ccbc670a34fe1a303b0..773d9cbe19dfea22607ce59aed418d55930220e6 100644 (file)
@@ -204,8 +204,8 @@ struct methods {
 static struct methods shadow_methods[] = {
        { "PRAMIN", load_vbios_pramin, true },
        { "PROM", load_vbios_prom, false },
-       { "PCIROM", load_vbios_pci, true },
        { "ACPI", load_vbios_acpi, true },
+       { "PCIROM", load_vbios_pci, true },
 };
 #define NUM_SHADOW_METHODS ARRAY_SIZE(shadow_methods)