summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-06-29 10:26:42 -0700
committerKeith Packard <keithp@keithp.com>2011-06-29 10:32:08 -0700
commit3e0dc6b01f5301d63046f6deddde2c7f5c57d67a (patch)
tree9621e6d1a4b85e68d33a40324b0cb05955fc1212 /drivers/gpu/drm/i915/i915_drv.c
parent23b2f8bb92feb83127679c53633def32d3108e70 (diff)
downloadblackbird-op-linux-3e0dc6b01f5301d63046f6deddde2c7f5c57d67a.tar.gz
blackbird-op-linux-3e0dc6b01f5301d63046f6deddde2c7f5c57d67a.zip
drm/i915: hangcheck disable parameter
Provide a parameter to disable hanghcheck. This is useful mostly for developers trying to debug known problems, and probably should not be touched by normal users. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 609358faaa90..b54f7d9b173a 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -70,6 +70,9 @@ module_param_named(vbt_sdvo_panel_type, i915_vbt_sdvo_panel_type, int, 0600);
static bool i915_try_reset = true;
module_param_named(reset, i915_try_reset, bool, 0600);
+bool i915_enable_hangcheck = true;
+module_param_named(enable_hangcheck, i915_enable_hangcheck, bool, 0644);
+
static struct drm_driver driver;
extern int intel_agp_enabled;
OpenPOWER on IntegriCloud