diff --git a/debian/changelog b/debian/changelog index 88ab2f101..65840fd99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ linux (3.16.1-1) UNRELEASED; urgency=medium * aio: fix reqs_available handling (regression in 3.14.10) * mm: Enable FRONTSWAP, ZSWAP (except armel/{ixp4xx,orion5x}) (Closes: #725703) + * [x86] mgag200: Enable auto-loading, but require mode-setting to be + explicitly enabled (as xserver-xorg-video-modesetting does) [ Vagrant Cascadian ] * [armmp] Enable IMX_IPUV3_CORE (closes: #756810). diff --git a/debian/patches/debian/cirrus-disable-modeset-by-default.patch b/debian/patches/debian/cirrus-disable-modeset-by-default.patch index 35eee2bc6..4036b4045 100644 --- a/debian/patches/debian/cirrus-disable-modeset-by-default.patch +++ b/debian/patches/debian/cirrus-disable-modeset-by-default.patch @@ -2,10 +2,10 @@ From: Ben Hutchings Subject: cirrus: Disable by default Forwarded: not-needed -Current Debian userland is not compatible with this driver, so set -modeset=0 by default (making module init fail). -xserver-xorg-video-cirrus will need to override this once it is -compatible, by installing a modprobe config file. +This kernel driver is incompatible with older versions of +xserver-xorg-video-cirrus, so do not enable it by default. It will be +enabled by a modprobe configuration file installed by +xserver-xorg-video-modesetting. --- a/drivers/gpu/drm/cirrus/cirrus_drv.c +++ b/drivers/gpu/drm/cirrus/cirrus_drv.c diff --git a/debian/patches/debian/mgag200-disable-autoload.patch b/debian/patches/debian/mgag200-disable-autoload.patch index 37d66f60c..cf023bcfe 100644 --- a/debian/patches/debian/mgag200-disable-autoload.patch +++ b/debian/patches/debian/mgag200-disable-autoload.patch @@ -4,18 +4,18 @@ Date: Mon, 24 Dec 2012 00:10:05 +0000 Forwarded: not-needed This kernel driver is incompatible with older versions of -xserver-xorg-video-mga, so do not autoload it yet. It will have to be -loaded either by local configuration or as part of a package of a -compatible X driver. +xserver-xorg-video-mga, so do not enable it by default. It will be +enabled by a modprobe configuration file installed by +xserver-xorg-video-modesetting. --- a/drivers/gpu/drm/mgag200/mgag200_drv.c +++ b/drivers/gpu/drm/mgag200/mgag200_drv.c -@@ -38,7 +38,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist - {0,} - }; +@@ -21,7 +21,7 @@ + * which then performs further device association and calls our graphics init + * functions + */ +-int mgag200_modeset = -1; ++int mgag200_modeset = 0; --MODULE_DEVICE_TABLE(pci, pciidlist); -+/*MODULE_DEVICE_TABLE(pci, pciidlist);*/ - - static void mgag200_kick_out_firmware_fb(struct pci_dev *pdev) - { + MODULE_PARM_DESC(modeset, "Disable/Enable modesetting"); + module_param_named(modeset, mgag200_modeset, int, 0400);