]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/i915: Fix up KMS Kconfig removal patch
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 11:57:47 +0000 (13:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 12:01:36 +0000 (14:01 +0200)
The module pciid list got lost, but somehow most distros seem to
force-load drm drivers early and no one noticed for a while.

Bug introduced in

commit fd930478fb797e4cbaa799d9ddd970e9a1fa1b4a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jun 19 20:27:27 2015 +0100

    drm/i915: Remove KMS Kconfig option

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_params.c

index c69f19271e27d65f3597a648681e1d5ef5bce348..b12a8218e35ea5e92b0878a4a92a8672d61a3b7f 100644 (file)
@@ -440,9 +440,7 @@ static const struct pci_device_id pciidlist[] = {           /* aka */
        {0, 0, 0}
 };
 
-#if defined(CONFIG_DRM_I915_KMS)
 MODULE_DEVICE_TABLE(pci, pciidlist);
-#endif
 
 void intel_detect_pch(struct drm_device *dev)
 {
index 8ac5a1b29ac0747735d1f05b9480cfc98bba42b9..3f67e69185c8c151c064440ab15220e15567ecfd 100644 (file)
@@ -58,7 +58,7 @@ struct i915_params i915 __read_mostly = {
 
 module_param_named(modeset, i915.modeset, int, 0400);
 MODULE_PARM_DESC(modeset,
-       "Use kernel modesetting [KMS] (0=DRM_I915_KMS from .config, "
+       "Use kernel modesetting [KMS] (0=disable, "
        "1=on, -1=force vga console preference [default])");
 
 module_param_named(panel_ignore_lid, i915.panel_ignore_lid, int, 0600);