summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-10-21 08:59:56 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-10-21 08:59:56 +0000
commit00d4957d62607873c2bf0c506fab4ff6c384b414 (patch)
treec158b15d1cbcf2291592e93d3bd6c84909ff9960
parent6cd0282f6440fac661dd92a6e96e4fd82e4489b4 (diff)
downloaddrm-00d4957d62607873c2bf0c506fab4ff6c384b414.tar.gz
Don't set MTRR's for intel hardware
-rw-r--r--linux-core/i915_drv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index a5f24806..8a8eb598 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -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,