drm/i915: tame the chattermouth (v2)
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_params.c
index f6af6d4c775cb05ab562dd6f10599bdba0a1bb5c..07252d8dc726ad42a4b0081aea291415107c59c9 100644 (file)
@@ -51,6 +51,7 @@ struct i915_params i915 __read_mostly = {
        .disable_vtd_wa = 0,
        .use_mmio_flip = 0,
        .mmio_debug = 0,
+       .verbose_state_checks = 1,
 };
 
 module_param_named(modeset, i915.modeset, int, 0400);
@@ -173,3 +174,7 @@ module_param_named(mmio_debug, i915.mmio_debug, bool, 0600);
 MODULE_PARM_DESC(mmio_debug,
        "Enable the MMIO debug code (default: false). This may negatively "
        "affect performance.");
+
+module_param_named(verbose_state_checks, i915.verbose_state_checks, bool, 0600);
+MODULE_PARM_DESC(verbose_state_checks,
+       "Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions.");
This page took 0.026564 seconds and 5 git commands to generate.