aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index db34780edbb..256e22963ae 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
@@ -957,6 +960,7 @@ struct drm_ioctl_desc i915_ioctls[] = {
957 DRM_IOCTL_DEF(DRM_I915_GEM_SW_FINISH, i915_gem_sw_finish_ioctl, 0), 960 DRM_IOCTL_DEF(DRM_I915_GEM_SW_FINISH, i915_gem_sw_finish_ioctl, 0),
958 DRM_IOCTL_DEF(DRM_I915_GEM_SET_TILING, i915_gem_set_tiling, 0), 961 DRM_IOCTL_DEF(DRM_I915_GEM_SET_TILING, i915_gem_set_tiling, 0),
959 DRM_IOCTL_DEF(DRM_I915_GEM_GET_TILING, i915_gem_get_tiling, 0), 962 DRM_IOCTL_DEF(DRM_I915_GEM_GET_TILING, i915_gem_get_tiling, 0),
963 DRM_IOCTL_DEF(DRM_I915_GEM_GET_APERTURE, i915_gem_get_aperture_ioctl, 0),
960}; 964};
961 965
962int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls); 966int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls);