Skip to content

Commit

Permalink
drm: drop mtrr from i915
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Nov 11, 2005
1 parent 7ccf800 commit 792d2b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/char/drm/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ static struct pci_device_id pciidlist[] = {
};

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,
Expand Down

0 comments on commit 792d2b9

Please sign in to comment.