Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 792d2b9a authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@linux.ie>
parent 7ccf800e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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,