From d2bb26f3676218e700efbeee77affe236360309b Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 24 Dec 2012 00:06:20 +0000 Subject: [PATCH] [x86] drm: Enable DRM_AST as module Disable autoloading as it is incompatible with older versions of xserver-xorg-video-ast svn path=/dists/trunk/linux/; revision=19645 --- debian/changelog | 3 +++ debian/config/config | 5 +++++ debian/config/kernelarch-x86/config | 5 +++++ .../patches/debian/ast-disable-autoload.patch | 20 +++++++++++++++++++ debian/patches/series | 1 + 5 files changed, 34 insertions(+) create mode 100644 debian/patches/debian/ast-disable-autoload.patch diff --git a/debian/changelog b/debian/changelog index 71ab6e900..64d0b160a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -48,6 +48,9 @@ linux (3.7.1-1~experimental.1) UNRELEASED; urgency=low * drm: Enable DRM_UDL as module - Disable autoloading as it is incompatible with older versions of xserver-xorg-video-displaylink + * [x86] drm: Enable DRM_AST as module + - Disable autoloading as it is incompatible with older versions of + xserver-xorg-video-ast -- maximilian attems Thu, 06 Dec 2012 18:14:33 +0100 diff --git a/debian/config/config b/debian/config/config index 2b4fd2c59..aec9077ca 100644 --- a/debian/config/config +++ b/debian/config/config @@ -394,6 +394,11 @@ CONFIG_FIREWIRE_NOSY=m CONFIG_DRM_VIA=m CONFIG_DRM_SAVAGE=m +## +## file: drivers/gpu/drm/ast/Kconfig +## +# CONFIG_DRM_AST is not set + ## ## file: drivers/gpu/drm/cirrus/Kconfig ## diff --git a/debian/config/kernelarch-x86/config b/debian/config/kernelarch-x86/config index a1e05d66a..61081f6ea 100644 --- a/debian/config/kernelarch-x86/config +++ b/debian/config/kernelarch-x86/config @@ -436,6 +436,11 @@ CONFIG_DRM_I915_KMS=y CONFIG_DRM_MGA=m CONFIG_DRM_SIS=m +## +## file: drivers/gpu/drm/ast/Kconfig +## +CONFIG_DRM_AST=m + ## ## file: drivers/gpu/drm/gma500/Kconfig ## diff --git a/debian/patches/debian/ast-disable-autoload.patch b/debian/patches/debian/ast-disable-autoload.patch new file mode 100644 index 000000000..bb88b2d5b --- /dev/null +++ b/debian/patches/debian/ast-disable-autoload.patch @@ -0,0 +1,20 @@ +From: Ben Hutchings +Subject: ast: Disable autoload +Date: Mon, 24 Dec 2012 00:05:07 +0000 + +This kernel driver is incompatible with older versions of +xserver-xorg-video-ast, 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. + +--- a/drivers/gpu/drm/ast/ast_drv.c ++++ b/drivers/gpu/drm/ast/ast_drv.c +@@ -58,7 +58,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist + {0, 0, 0}, + }; + +-MODULE_DEVICE_TABLE(pci, pciidlist); ++/*MODULE_DEVICE_TABLE(pci, pciidlist);*/ + + static int __devinit + ast_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) diff --git a/debian/patches/series b/debian/patches/series index ee0e7cf3a..ef2a55f4f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -66,3 +66,4 @@ bugfix/all/ptp-Enable-clock-drivers-along-with-associated-net-P.patch bugfix/all/sfc-Select-PTP_1588_CLOCK.patch bugfix/all/pch_gbe-ptp_pch-Fix-the-dependency-direction-between.patch debian/udl-disable-autoload.patch +debian/ast-disable-autoload.patch