drm/nouveau/bios: stop after NV+NPDS+ISBN image

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2014-09-25 12:11:16 +10:00
parent 798dda5528
commit 9b4de93bc9

View File

@ -53,10 +53,15 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
image->type = pcir.image_type; image->type = pcir.image_type;
image->last = pcir.last; image->last = pcir.last;
if (image->type != 0x70) {
if (!(data = nvbios_npdeTp(bios, image->base, &npde))) if (!(data = nvbios_npdeTp(bios, image->base, &npde)))
return true; return true;
image->size = npde.image_size; image->size = npde.image_size;
image->last = npde.last; image->last = npde.last;
} else {
image->last = true;
}
return true; return true;
} }