mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
drm/nouveau/bios/extdev: also parse v4.1 table
Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr>
This commit is contained in:
parent
eb72ed5dc8
commit
b774c40b1c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user