Commit 2ff195cf authored by Jani Nikula's avatar Jani Nikula

drm/i915/params: set i915.enable_hangcheck permissions to 0600

i915.enable_hangcheck has been an outlier since its introduction in
commit 3e0dc6b0 ("drm/i915: hangcheck disable parameter") with 0644
permissions, while all the rest are either 0400 or 0600. Follow suit
with 0600.

IGT never reads the value, so there should be no impact.
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5c8f7d1a1654436d38919b7419a209c129db8ad0.1545920737.git.jani.nikula@intel.com
parent fce43315
...@@ -77,7 +77,7 @@ i915_param_named(error_capture, bool, 0600, ...@@ -77,7 +77,7 @@ i915_param_named(error_capture, bool, 0600,
"triaging and debugging hangs."); "triaging and debugging hangs.");
#endif #endif
i915_param_named_unsafe(enable_hangcheck, bool, 0644, i915_param_named_unsafe(enable_hangcheck, bool, 0600,
"Periodically check GPU activity for detecting hangs. " "Periodically check GPU activity for detecting hangs. "
"WARNING: Disabling this can cause system wide hangs. " "WARNING: Disabling this can cause system wide hangs. "
"(default: true)"); "(default: true)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment