drm/nouveau: recognise higher link rate for available dp bw calculations
authorBen Skeggs <bskeggs@redhat.com>
Wed, 19 Mar 2014 23:32:01 +0000 (09:32 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 04:08:21 +0000 (14:08 +1000)
I should resurrect/merge that cleanup branch to remove the weird
duplication.. One day.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index 04564dcd795675f8d1bc1482e4658fa152042dbd..8268a4ccac159e7d7fdd38f04857572448e6b81b 100644 (file)
@@ -1474,9 +1474,12 @@ parse_dcb20_entry(struct drm_device *dev, struct dcb_table *dcb,
                case 0:
                        entry->dpconf.link_bw = 162000;
                        break;
-               default:
+               case 1:
                        entry->dpconf.link_bw = 270000;
                        break;
+               default:
+                       entry->dpconf.link_bw = 540000;
+                       break;
                }
                switch ((conf & 0x0f000000) >> 24) {
                case 0xf: