drm/i915: Fix default values of some modparams
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 25 Sep 2017 10:50:08 +0000 (10:50 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 26 Sep 2017 08:22:26 +0000 (11:22 +0300)
Members should be initialized with values of matching types.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170925105008.46060-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/i915_params.h

index da599395f2ba227d306c9a9e6da2dabe722af06b..4f3f8d6501945ac8b0bf521fecbf20a9488c00da 100644 (file)
        param(bool, alpha_support, IS_ENABLED(CONFIG_DRM_I915_ALPHA_SUPPORT)) \
        param(bool, enable_cmd_parser, true) \
        param(bool, enable_hangcheck, true) \
-       param(bool, fastboot, 0) \
-       param(bool, prefault_disable, 0) \
-       param(bool, load_detect_test, 0) \
-       param(bool, force_reset_modeset_test, 0) \
+       param(bool, fastboot, false) \
+       param(bool, prefault_disable, false) \
+       param(bool, load_detect_test, false) \
+       param(bool, force_reset_modeset_test, false) \
        param(bool, error_capture, true) \
-       param(bool, disable_display, 0) \
-       param(bool, verbose_state_checks, 1) \
-       param(bool, nuclear_pageflip, 0) \
+       param(bool, disable_display, false) \
+       param(bool, verbose_state_checks, true) \
+       param(bool, nuclear_pageflip, false) \
        param(bool, enable_dp_mst, true) \
        param(bool, enable_dpcd_backlight, false) \
        param(bool, enable_gvt, false)