summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-06-26 01:38:15 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-01 11:28:02 +0200
commit2385bdf0787aef45ee1847b8508a417433da7e14 (patch)
tree43137efa9f4ffd97a15882c6fcf829e475555a90 /drivers/gpu/drm/i915/i915_drv.c
parentc93f54cf7de31d44b4036d0d1e291172b2bd5743 (diff)
downloadblackbird-op-linux-2385bdf0787aef45ee1847b8508a417433da7e14.tar.gz
blackbird-op-linux-2385bdf0787aef45ee1847b8508a417433da7e14.zip
drm/i915: add fastboot param for fast & loose mode setting
Handling all the state properly for fastboot is still not yet done by far, but we need some way to be able to test what we currently have. So hide the not-yet-quite-complete stuff behind a module option. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> [danvet: Add a real commit message.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 062cbda1bf4a..33cb97388fc9 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -132,6 +132,11 @@ int i915_enable_ips __read_mostly = 1;
module_param_named(enable_ips, i915_enable_ips, int, 0600);
MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)");
+bool i915_fastboot __read_mostly = 0;
+module_param_named(fastboot, i915_fastboot, bool, 0600);
+MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time "
+ "(default: false)");
+
static struct drm_driver driver;
extern int intel_agp_enabled;
OpenPOWER on IntegriCloud