Skip to contentSkip to conversation

bios: add 8.1Gbps DP link rate

PATCH New Ilia Mirkin 1 participant 1 message Oct 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bios: add 8.1Gbps DP link rate

This was already done in dcb.c inside nvkm, but the other parser did not get the update.

---

Entirely untested. Why do we have two DCB parsers again? Also the other one sets link_bw to a totally different set of units for link_bw...

 drm/nouveau/nouveau_bios.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drm/nouveau/nouveau_bios.c +5 -1
index dd6fba55..c4ef3a0a 100644
@@ -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:
Signature · 6 lines
2.13.6

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau