diff options
author | Ben Hutchings <benh@debian.org> | 2014-08-27 23:24:58 +0000 |
---|---|---|
committer | Ben Hutchings <benh@debian.org> | 2014-08-27 23:24:58 +0000 |
commit | bc902f45203d43781282b0ae192008ac9fc13f45 (patch) | |
tree | d2d68f70370157e9b557116e43a4e228f47df14b /debian/patches/debian/mgag200-disable-autoload.patch | |
parent | c692bc729db7886c2852285d5c29610fda007f65 (diff) |
[x86] mgag200: Enable auto-loading, but require mode-setting to be explicitly enabled
xserver-xorg-video-modesetting installs a modprobe config file to enable
mode-setting in cirrusy and mgag200.
Also update the description of the cirrus patch to reflect the current
status.
svn path=/dists/trunk/linux/; revision=21752
Diffstat (limited to 'debian/patches/debian/mgag200-disable-autoload.patch')
-rw-r--r-- | debian/patches/debian/mgag200-disable-autoload.patch | 22 |
1 files changed, 11 insertions, 11 deletions
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); |