Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 798dda55
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -53,10 +53,15 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
	image->type = pcir.image_type;
	image->last = pcir.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;
}