Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358306
b: refs/heads/master
c: ac8cc24
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Feb 20, 2013
1 parent e9379ca commit c8605e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 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: 8e992c8d9eebc2bd3246252ee5c0422dbbbce7ae
refs/heads/master: ac8cc241a81941932da44993242e68c62e115ec7
14 changes: 8 additions & 6 deletions trunk/drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ nv50_devinit_init(struct nouveau_object *object)
if (ret)
return ret;

/* if we ran the init tables, execute first script pointer for each
* display table output entry that has a matching dcb entry.
/* if we ran the init tables, we have to execute the first script
* pointer of each dcb entry's display encoder table in order
* to properly initialise each encoder.
*/
while (priv->base.post && ver) {
u16 data = nvbios_outp_parse(bios, i++, &ver, &hdr, &cnt, &len, &info);
if (data && dcb_outp_match(bios, info.type, info.mask, &ver, &len, &outp)) {
while (priv->base.post && dcb_outp_parse(bios, i, &ver, &hdr, &outp)) {
if (nvbios_outp_match(bios, outp.hasht, outp.hashm,
&ver, &hdr, &cnt, &len, &info)) {
struct nvbios_init init = {
.subdev = nv_subdev(priv),
.bios = bios,
Expand All @@ -95,7 +96,8 @@ nv50_devinit_init(struct nouveau_object *object)

nvbios_exec(&init);
}
};
i++;
}

return 0;
}
Expand Down

0 comments on commit c8605e2

Please sign in to comment.