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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, November 11, 2008 - 11:00 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d3e74d...
Commit:     d3e74d0237b102d34979015fbf6df02ca4413074
Parent:     6a47baa6ce7e6fb5fed8d1fd0af36a96a4ad133f
Author:     Eric Anholt <eric@anholt.net>
AuthorDate: Mon Nov 3 14:46:17 2008 -0800
Committer:  Dave Airlie <airlied@linux.ie>
CommitDate: Tue Nov 11 17:44:04 2008 +1000

    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>
---
 drivers/gpu/drm/i915/i915_dma.c |    3 +--
 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 7994446..9d4278b 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)
 	 * 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);
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
i915: Don't whine when pci_enable_msi() fails., Linux Kernel Mailing ..., (Tue Nov 11, 11:00 am)