aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-11-03 17:46:17 -0500
committerDave Airlie <airlied@linux.ie>2008-11-11 02:44:04 -0500
commitd3e74d0237b102d34979015fbf6df02ca4413074 (patch)
treeb2a5cdb09d3d512a95e1e04448a1605a4b653c3b
parent6a47baa6ce7e6fb5fed8d1fd0af36a96a4ad133f (diff)
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>
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 79944460d70a..9d4278be0ca0 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -852,8 +852,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
852 * be lost or delayed 852 * be lost or delayed
853 */ 853 */
854 if (!IS_I945G(dev) && !IS_I945GM(dev) && !IS_I965GM(dev)) 854 if (!IS_I945G(dev) && !IS_I945GM(dev) && !IS_I965GM(dev))
855 if (pci_enable_msi(dev->pdev)) 855 pci_enable_msi(dev->pdev);
856 DRM_ERROR("failed to enable MSI\n");
857 856
858 intel_opregion_init(dev); 857 intel_opregion_init(dev);
859 858