Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232809
b: refs/heads/master
c: 5fe49d8
h: refs/heads/master
i:
  232807: 84fcc02
v: v3
  • Loading branch information
Chris Wilson committed Feb 1, 2011
1 parent 5c12a10 commit 254d6c7
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 78c6e170badd22c86a5b50a7eb038a02024b8f03
refs/heads/master: 5fe49d86f9d01044abf687a8cd21edef636d58aa
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,14 @@ int i915_reset(struct drm_device *dev, u8 flags)
static int __devinit
i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{
/* Only bind to function 0 of the device. Early generations
* used function 1 as a placeholder for multi-head. This causes
* us confusion instead, especially on the systems where both
* functions have the same PCI-ID!
*/
if (PCI_FUNC(pdev->devfn))
return -ENODEV;

return drm_get_pci_dev(pdev, ent, &driver);
}

Expand Down

0 comments on commit 254d6c7

Please sign in to comment.