Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185511
b: refs/heads/master
c: 54abb5d
h: refs/heads/master
i:
  185509: 1f6dd17
  185507: 38ae178
  185503: fadc56f
v: v3
  • Loading branch information
Ben Skeggs committed Feb 25, 2010
1 parent f2bf3ed commit f18eb32
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e7cc51c5652a8195bc638ce52987fb265ace2a9a
refs/heads/master: 54abb5ddae28f6e676f659902cfc8c3ce63b3e16
10 changes: 6 additions & 4 deletions trunk/drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -5646,9 +5646,6 @@ parse_dcb_table(struct drm_device *dev, struct nvbios *bios, bool twoHeads)
dcb->i2c_default_indices = dcb->i2c_table[4];
}

parse_dcb_gpio_table(bios);
parse_dcb_connector_table(bios);

if (entries > DCB_MAX_NUM_ENTRIES)
entries = DCB_MAX_NUM_ENTRIES;

Expand Down Expand Up @@ -5684,7 +5681,12 @@ parse_dcb_table(struct drm_device *dev, struct nvbios *bios, bool twoHeads)
if (dcb->version < 0x21)
merge_like_dcb_entries(dev, dcb);

return dcb->entries ? 0 : -ENXIO;
if (!dcb->entries)
return -ENXIO;

parse_dcb_gpio_table(bios);
parse_dcb_connector_table(bios);
return 0;
}

static void
Expand Down

0 comments on commit f18eb32

Please sign in to comment.