i915: Don't whine when pci_enable_msi() fails.

This probably just means the chipset doesn't support MSI, which is fine.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Eric Anholt 2008-11-03 14:46:17 -08:00 committed by Dave Airlie
parent 6a47baa6ce
commit d3e74d0237
1 changed files with 1 additions and 2 deletions

View File

@ -852,8 +852,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
* be lost or delayed
*/
if (!IS_I945G(dev) && !IS_I945GM(dev) && !IS_I965GM(dev))
if (pci_enable_msi(dev->pdev))
DRM_ERROR("failed to enable MSI\n");
pci_enable_msi(dev->pdev);
intel_opregion_init(dev);