mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 17:35:17 +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 (!(data = nvbios_npdeTp(bios, image->base, &npde)))
|
if (image->type != 0x70) {
|
||||||
return true;
|
if (!(data = nvbios_npdeTp(bios, image->base, &npde)))
|
||||||
image->size = npde.image_size;
|
return true;
|
||||||
image->last = npde.last;
|
image->size = npde.image_size;
|
||||||
|
image->last = npde.last;
|
||||||
|
} else {
|
||||||
|
image->last = true;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user