提交 cf091292 编写于 作者: B Ben Skeggs

drm/nouveau/bios: parse 8.1 Gbps DP link rate

From DCB 4.1 spec.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 7d2813c4
......@@ -143,16 +143,19 @@ dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len,
switch (outp->type) {
case DCB_OUTPUT_DP:
switch (conf & 0x00e00000) {
case 0x00000000:
case 0x00000000: /* 1.62 */
outp->dpconf.link_bw = 0x06;
break;
case 0x00200000:
case 0x00200000: /* 2.7 */
outp->dpconf.link_bw = 0x0a;
break;
case 0x00400000:
default:
case 0x00400000: /* 5.4 */
outp->dpconf.link_bw = 0x14;
break;
case 0x00600000: /* 8.1 */
default:
outp->dpconf.link_bw = 0x1e;
break;
}
switch ((conf & 0x0f000000) >> 24) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册