Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209823
b: refs/heads/master
c: 20d66da
h: refs/heads/master
i:
  209821: c5db799
  209819: ef08add
  209815: 395a4ba
  209807: 1cc9aca
  209791: a7e46a4
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Aug 17, 2010
1 parent e8b531f commit 64fa1e0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19bf5f7df918f86a1507389101b5eddcad983951
refs/heads/master: 20d66daf0aeae4abd2f498d0cedf3e506946f3c2
16 changes: 16 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -5807,6 +5807,22 @@ parse_dcb_gpio_table(struct nvbios *bios)
gpio->line = tvdac_gpio[1] >> 4;
gpio->invert = tvdac_gpio[0] & 2;
}
} else {
/*
* No systematic way to store GPIO info on pre-v2.2
* DCBs, try to match the PCI device IDs.
*/

/* Apple iMac G4 NV18 */
if (dev->pdev->device == 0x0189 &&
dev->pdev->subsystem_vendor == 0x10de &&
dev->pdev->subsystem_device == 0x0010) {
struct dcb_gpio_entry *gpio = new_gpio_entry(bios);

gpio->tag = DCB_GPIO_TVDAC0;
gpio->line = 4;
}

}

if (!gpio_table_ptr)
Expand Down

0 comments on commit 64fa1e0

Please sign in to comment.