diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2013-06-25 18:38:15 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-01 05:28:02 -0400 |
commit | 2385bdf0787aef45ee1847b8508a417433da7e14 (patch) | |
tree | 43137efa9f4ffd97a15882c6fcf829e475555a90 /drivers/gpu/drm/i915/i915_drv.c | |
parent | c93f54cf7de31d44b4036d0d1e291172b2bd5743 (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.c | 5 |
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; | |||
132 | module_param_named(enable_ips, i915_enable_ips, int, 0600); | 132 | module_param_named(enable_ips, i915_enable_ips, int, 0600); |
133 | MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)"); | 133 | MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)"); |
134 | 134 | ||
135 | bool i915_fastboot __read_mostly = 0; | ||
136 | module_param_named(fastboot, i915_fastboot, bool, 0600); | ||
137 | MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time " | ||
138 | "(default: false)"); | ||
139 | |||
135 | static struct drm_driver driver; | 140 | static struct drm_driver driver; |
136 | extern int intel_agp_enabled; | 141 | extern int intel_agp_enabled; |
137 | 142 | ||