Don't set MTRR's for intel hardware
authorAlan Hourihane <alanh@fairlite.demon.co.uk>
Fri, 21 Oct 2005 08:59:56 +0000 (08:59 +0000)
committerAlan Hourihane <alanh@fairlite.demon.co.uk>
Fri, 21 Oct 2005 08:59:56 +0000 (08:59 +0000)
linux-core/i915_drv.c

index a5f2480..8a8eb59 100644 (file)
@@ -43,8 +43,11 @@ extern int i915_max_ioctl;
 
 static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
 static struct drm_driver driver = {
+       /* don't use mtrr's here, the Xserver or user space app should
+        * deal with them for intel hardware.
+        */
        .driver_features =
-           DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | DRIVER_USE_MTRR |
+           DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR | */
            DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
        .load = i915_driver_load,
        .lastclose = i915_driver_lastclose,