mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 05:15:11 +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->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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user