From: Karol Herbst Date: Sat, 20 Feb 2016 16:12:19 +0000 (+0100) Subject: drm/nouveau/bios/extdev: also parse v4.1 table X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b774c40b1c938afe04d06b5fa9c23fff9ca42f7a;p=openwrt%2Fstaging%2Fblogic.git drm/nouveau/bios/extdev: also parse v4.1 table Signed-off-by: Karol Herbst Reviewed-by: Martin Peres --- diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c index c9e6f6ff7c50..b8578359e61b 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c @@ -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);