Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269679
b: refs/heads/master
c: 856ed88
h: refs/heads/master
i:
  269677: 2d74d25
  269675: fc59333
  269671: dd0bc74
  269663: 0cca832
v: v3
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent e04bbe9 commit 7b64960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1262a206da7d28340dfce954e31bd5fe5ae9e2dd
refs/heads/master: 856ed888754e98b5933878f56b9c540b68dab1d6
7 changes: 3 additions & 4 deletions trunk/drivers/gpu/drm/nouveau/nouveau_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,10 @@ dp_set_link_config(struct drm_device *dev, struct dp_state *dp)
*/
bios = nouveau_bios_dp_table(dev, dp->dcb, &headerlen);
if (bios && (bios = ROMPTR(&dev_priv->vbios, bios[10]))) {
u16 script = ROM16(bios[2]);
if (dp->link_bw != 270000)
script = ROM16(bios[6]);
while (dp->link_bw < (ROM16(bios[0]) * 10))
bios += 4;

nouveau_bios_run_init_table(dev, script, dp->dcb, dp->crtc);
nouveau_bios_run_init_table(dev, ROM16(bios[2]), dp->dcb, dp->crtc);
}

/* configure lane count on the source */
Expand Down

0 comments on commit 7b64960

Please sign in to comment.