From: Ben Skeggs Date: Thu, 25 Sep 2014 02:11:16 +0000 (+1000) Subject: drm/nouveau/bios: stop after NV+NPDS+ISBN image X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9b4de93bc91c482122b082ace212cb1db36ffe08;p=linux-beck.git drm/nouveau/bios: stop after NV+NPDS+ISBN image Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/image.c b/drivers/gpu/drm/nouveau/core/subdev/bios/image.c index d91e2f3a8295..373f9a564ac9 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/bios/image.c +++ b/drivers/gpu/drm/nouveau/core/subdev/bios/image.c @@ -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; }