summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-12-06 08:59:31 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-12-06 09:02:00 +1000
commit427fd35888cfabdda2a115f1e60c2b50d691d369 (patch)
treea13af0ef43d4ee7564ad5689399c2468fe9bf341
parent89f304abbe592bf1d97ac0bbc0d611c7c021d93d (diff)
downloadnouveau-427fd35888cfabdda2a115f1e60c2b50d691d369.tar.gz
bios/mxm: handle digital connector table 1.1
I suspect the version bump is just to signify that the table now specifies pad macro/links instead of SOR/sublinks. For our usage of the table, just recognising the new version is enough. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drm/nouveau/nvkm/subdev/bios/mxm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nvkm/subdev/bios/mxm.c b/drm/nouveau/nvkm/subdev/bios/mxm.c
index 3ddf0939d..994cc2d77 100644
--- a/drm/nouveau/nvkm/subdev/bios/mxm.c
+++ b/drm/nouveau/nvkm/subdev/bios/mxm.c
@@ -81,7 +81,7 @@ mxm_sor_map(struct nvkm_bios *bios, u8 conn)
u16 map = nvbios_rd16(bios, mxm + 4);
if (map) {
ver = nvbios_rd08(bios, map);
- if (ver == 0x10) {
+ if (ver == 0x10 || ver == 0x11) {
if (conn < nvbios_rd08(bios, map + 3)) {
map += nvbios_rd08(bios, map + 1);
map += conn;