aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-11-11 07:30:27 -0500
committerDave Airlie <airlied@linux.ie>2005-11-11 07:30:27 -0500
commit792d2b9a12594522111fbe2a7f17460a4d7edff7 (patch)
treebf2463b4047d35555b882969adf21ec9202f7527 /drivers
parent7ccf800e9415daf9214eb667318e356f9a3d81fc (diff)
drm: drop mtrr from i915
Alan Hourihane wants to set MTRR in the DDX only as otherwise we get problems with the shared memory chipset. From: Alan Hourihane <alanh@fairlite.demon.co.uk> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/drm/i915_drv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/char/drm/i915_drv.c b/drivers/char/drm/i915_drv.c
index 32b7f8bb420d..e88d32d286f5 100644
--- a/drivers/char/drm/i915_drv.c
+++ b/drivers/char/drm/i915_drv.c
@@ -39,8 +39,11 @@ static struct pci_device_id pciidlist[] = {
39}; 39};
40 40
41static struct drm_driver driver = { 41static struct drm_driver driver = {
42 /* don't use mtrr's here, the Xserver or user space app should
43 * deal with them for intel hardware.
44 */
42 .driver_features = 45 .driver_features =
43 DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | DRIVER_USE_MTRR | 46 DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR |*/
44 DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED, 47 DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
45 .load = i915_driver_load, 48 .load = i915_driver_load,
46 .lastclose = i915_driver_lastclose, 49 .lastclose = i915_driver_lastclose,