]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i915: Don't whine when pci_enable_msi() fails.
authorEric Anholt <eric@anholt.net>
Mon, 3 Nov 2008 22:46:17 +0000 (14:46 -0800)
committerDave Airlie <airlied@linux.ie>
Tue, 11 Nov 2008 07:44:04 +0000 (17:44 +1000)
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>
drivers/gpu/drm/i915/i915_dma.c

index 79944460d70a0b93b0a8342e0729766399eb7bb1..9d4278be0ca0ce36204440067e35474541ab4540 100644 (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);