Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282458
b: refs/heads/master
c: 84b08fe
h: refs/heads/master
v: v3
  • Loading branch information
Patrik Jakobsson authored and Dave Airlie committed Dec 6, 2011
1 parent 3f62e42 commit cea316f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: e036ba5914df8a6c2ce665ba4631fe1f17f4cc2b
refs/heads/master: 84b08fe62c9e8c066a29d6d6f656e409a2a86b27
8 changes: 5 additions & 3 deletions trunk/drivers/gpu/drm/gma500/psb_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
dev_priv->dev = dev;
dev->dev_private = (void *) dev_priv;

if (!IS_PSB(dev)) {
if (pci_enable_msi(dev->pdev))
dev_warn(dev->dev, "Enabling MSI failed!\n");
}

dev_priv->num_pipe = dev_priv->ops->pipes;

resource_start = pci_resource_start(dev->pdev, PSB_MMIO_RESOURCE);
Expand Down Expand Up @@ -683,9 +688,6 @@ static struct pci_driver psb_pci_driver = {

static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{
/* MLD Added this from Inaky's patch */
if (pci_enable_msi(pdev))
dev_warn(&pdev->dev, "Enable MSI failed!\n");
return drm_get_pci_dev(pdev, ent, &driver);
}

Expand Down

0 comments on commit cea316f

Please sign in to comment.