]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/nouveau/bios/extdev: also parse v4.1 table
authorKarol Herbst <nouveau@karolherbst.de>
Sat, 20 Feb 2016 16:12:19 +0000 (17:12 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:26 +0000 (10:13 +1000)
Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c

index c9e6f6ff7c5017516cdffa572838eb0b1ecc3d10..b8578359e61bc4c17d79a4c0f4b96404ff365823 100644 (file)
@@ -32,7 +32,7 @@ extdev_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt)
        u16 dcb, extdev = 0;
 
        dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len);
-       if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40))
+       if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40 && dcb_ver != 0x41))
                return 0x0000;
 
        extdev = nvbios_rd16(bios, dcb + 18);