]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/i915/params: don't expose inject_probe_failure in debugfs
authorJani Nikula <jani.nikula@intel.com>
Mon, 1 Jun 2020 21:55:08 +0000 (00:55 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 2 Jun 2020 10:11:16 +0000 (13:11 +0300)
The parameter only makes sense as a module parameter only.

Fixes: c43c5a8818d4 ("drm/i915/params: add i915 parameters to debugfs")
Cc: Juha-Pekka Heikkilä <juha-pekka.heikkila@intel.com>
Cc: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200601215510.18379-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_params.h

index 45323732f0997e385ac2a81516cf5daf5b43775e..4f21bfffbf0ed0cc133bb103f82345b59f0f6217 100644 (file)
@@ -64,7 +64,7 @@ struct drm_printer;
        param(int, mmio_debug, -IS_ENABLED(CONFIG_DRM_I915_DEBUG_MMIO), 0600) \
        param(int, edp_vswing, 0, 0400) \
        param(unsigned int, reset, 3, 0600) \
-       param(unsigned int, inject_probe_failure, 0, 0600) \
+       param(unsigned int, inject_probe_failure, 0, 0) \
        param(int, fastboot, -1, 0600) \
        param(int, enable_dpcd_backlight, -1, 0600) \
        param(char *, force_probe, CONFIG_DRM_I915_FORCE_PROBE, 0400) \