summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
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:08:23 +1000
commit8ca99316fd6fcdd87357d3291f38a5dc09a7e106 (patch)
treee3477dd237cac2bc8d21aa8eded3ebe66154284e /drivers/gpu/drm/nouveau
parent0b2fe6594fa2c54c080a89d563eb16ea7b4c4a29 (diff)
downloadop-kernel-dev-8ca99316fd6fcdd87357d3291f38a5dc09a7e106.zip
op-kernel-dev-8ca99316fd6fcdd87357d3291f38a5dc09a7e106.tar.gz
drm/nouveau/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>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c
index 3ddf093..994cc2d 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c
+++ b/drivers/gpu/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;
OpenPOWER on IntegriCloud