提交 798dda55 编写于 作者: B Ben Skeggs

drm/nouveau/bios: add some more signatures as seen on my gtx660

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 dbbd6bcf
...@@ -38,6 +38,7 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image) ...@@ -38,6 +38,7 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
switch ((data = nv_ro16(bios, image->base + 0x00))) { switch ((data = nv_ro16(bios, image->base + 0x00))) {
case 0xaa55: case 0xaa55:
case 0xbb77:
case 0x4e56: /* NV */ case 0x4e56: /* NV */
break; break;
default: default:
......
...@@ -33,6 +33,7 @@ nvbios_pcirTe(struct nouveau_bios *bios, u32 base, u8 *ver, u16 *hdr) ...@@ -33,6 +33,7 @@ nvbios_pcirTe(struct nouveau_bios *bios, u32 base, u8 *ver, u16 *hdr)
data += base; data += base;
switch (nv_ro32(bios, data + 0x00)) { switch (nv_ro32(bios, data + 0x00)) {
case 0x52494350: /* PCIR */ case 0x52494350: /* PCIR */
case 0x53494752: /* RGIS */
case 0x5344504e: /* NPDS */ case 0x5344504e: /* NPDS */
*hdr = nv_ro16(bios, data + 0x0a); *hdr = nv_ro16(bios, data + 0x0a);
*ver = nv_ro08(bios, data + 0x0c); *ver = nv_ro08(bios, data + 0x0c);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册