提交 9b4de93b 编写于 作者: B Ben Skeggs

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

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册