Commit 9b4de93b authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 798dda55
......@@ -53,10 +53,15 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
image->type = pcir.image_type;
image->last = pcir.last;
if (!(data = nvbios_npdeTp(bios, image->base, &npde)))
return true;
image->size = npde.image_size;
image->last = npde.last;
if (image->type != 0x70) {
if (!(data = nvbios_npdeTp(bios, image->base, &npde)))
return true;
image->size = npde.image_size;
image->last = npde.last;
} else {
image->last = true;
}
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment