forked from Minki/linux
drm/nouveau/bios: parse 8.1 Gbps DP link rate
From DCB 4.1 spec. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
7d2813c437
commit
cf0912924f
@ -143,16 +143,19 @@ dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len,
|
|||||||
switch (outp->type) {
|
switch (outp->type) {
|
||||||
case DCB_OUTPUT_DP:
|
case DCB_OUTPUT_DP:
|
||||||
switch (conf & 0x00e00000) {
|
switch (conf & 0x00e00000) {
|
||||||
case 0x00000000:
|
case 0x00000000: /* 1.62 */
|
||||||
outp->dpconf.link_bw = 0x06;
|
outp->dpconf.link_bw = 0x06;
|
||||||
break;
|
break;
|
||||||
case 0x00200000:
|
case 0x00200000: /* 2.7 */
|
||||||
outp->dpconf.link_bw = 0x0a;
|
outp->dpconf.link_bw = 0x0a;
|
||||||
break;
|
break;
|
||||||
case 0x00400000:
|
case 0x00400000: /* 5.4 */
|
||||||
default:
|
|
||||||
outp->dpconf.link_bw = 0x14;
|
outp->dpconf.link_bw = 0x14;
|
||||||
break;
|
break;
|
||||||
|
case 0x00600000: /* 8.1 */
|
||||||
|
default:
|
||||||
|
outp->dpconf.link_bw = 0x1e;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ((conf & 0x0f000000) >> 24) {
|
switch ((conf & 0x0f000000) >> 24) {
|
||||||
|
Loading…
Reference in New Issue
Block a user