mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 06:55:07 +07:00
drm/nouveau/bios: stop after NV+NPDS+ISBN image
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
798dda5528
commit
9b4de93bc9
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user