drm/nouveau/kms: add 8.1Gbps DP link rate
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 31 Oct 2017 17:56:19 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:15 +0000 (13:32 +1000)
This was already done in dcb.c inside nvkm, but the other parser did not
get the update.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index dd6fba5..c4ef3a0 100644 (file)
@@ -1478,9 +1478,13 @@ parse_dcb20_entry(struct drm_device *dev, struct dcb_table *dcb,
                case 1:
                        entry->dpconf.link_bw = 270000;
                        break;
-               default:
+               case 2:
                        entry->dpconf.link_bw = 540000;
                        break;
+               case 3:
+               default:
+                       entry->dpconf.link_bw = 810000;
+                       break;
                }
                switch ((conf & 0x0f000000) >> 24) {
                case 0xf: