aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-06-25 18:38:15 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-01 05:28:02 -0400
commit2385bdf0787aef45ee1847b8508a417433da7e14 (patch)
tree43137efa9f4ffd97a15882c6fcf829e475555a90 /drivers/gpu/drm/i915/i915_drv.c
parentc93f54cf7de31d44b4036d0d1e291172b2bd5743 (diff)
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;
132module_param_named(enable_ips, i915_enable_ips, int, 0600); 132module_param_named(enable_ips, i915_enable_ips, int, 0600);
133MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)"); 133MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)");
134 134
135bool i915_fastboot __read_mostly = 0;
136module_param_named(fastboot, i915_fastboot, bool, 0600);
137MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time "
138 "(default: false)");
139
135static struct drm_driver driver; 140static struct drm_driver driver;
136extern int intel_agp_enabled; 141extern int intel_agp_enabled;
137 142