projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798dda5
)
drm/nouveau/bios: stop after NV+NPDS+ISBN image
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 25 Sep 2014 02:11:16 +0000
(12:11 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:51 +0000
(15:43 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/image.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bios/image.c
b/drivers/gpu/drm/nouveau/core/subdev/bios/image.c
index d91e2f3a829547826b3e01ac00ade84809a484d0..373f9a564ac9a0b334d51889d3fdf23021b3b5f1 100644
(file)
--- 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;
}