aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-10-17 03:44:42 -0400
committerDave Airlie <airlied@redhat.com>2008-10-22 23:42:26 -0400
commitd1ed629f44b3a4108d5c445971535f05f441fce7 (patch)
tree308dc4f206a553444969edea7783f1b8140b3d38 /drivers/gpu
parent863842736fb4571b22e0f7f4696bf13eeec57166 (diff)
i915: Disable MSI on GM965 (errata says it doesn't work)
Current Intel errata for the GM965 says that using MSI may cause interrupts to be delayed or lost. The only workaround offered is to not use it. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index db34780edbb2..01de536e0211 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -844,8 +844,11 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
844 * correctly in testing on 945G. 844 * correctly in testing on 945G.
845 * This may be a side effect of MSI having been made available for PEG 845 * This may be a side effect of MSI having been made available for PEG
846 * and the registers being closely associated. 846 * and the registers being closely associated.
847 *
848 * According to chipset errata, on the 965GM, MSI interrupts may
849 * be lost or delayed
847 */ 850 */
848 if (!IS_I945G(dev) && !IS_I945GM(dev)) 851 if (!IS_I945G(dev) && !IS_I945GM(dev) && !IS_I965GM(dev))
849 if (pci_enable_msi(dev->pdev)) 852 if (pci_enable_msi(dev->pdev))
850 DRM_ERROR("failed to enable MSI\n"); 853 DRM_ERROR("failed to enable MSI\n");
851 854