mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
drm/i915: make rc6 module parameter read-only
People have been getting confused and thinking this is a runtime control. Cc: stable@vger.kernel.org Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
80e829fade
commit
f57f9c167a
@ -64,7 +64,7 @@ MODULE_PARM_DESC(semaphores,
|
|||||||
"Use semaphores for inter-ring sync (default: -1 (use per-chip defaults))");
|
"Use semaphores for inter-ring sync (default: -1 (use per-chip defaults))");
|
||||||
|
|
||||||
int i915_enable_rc6 __read_mostly = -1;
|
int i915_enable_rc6 __read_mostly = -1;
|
||||||
module_param_named(i915_enable_rc6, i915_enable_rc6, int, 0600);
|
module_param_named(i915_enable_rc6, i915_enable_rc6, int, 0400);
|
||||||
MODULE_PARM_DESC(i915_enable_rc6,
|
MODULE_PARM_DESC(i915_enable_rc6,
|
||||||
"Enable power-saving render C-state 6. "
|
"Enable power-saving render C-state 6. "
|
||||||
"Different stages can be selected via bitmask values "
|
"Different stages can be selected via bitmask values "
|
||||||
|
Loading…
Reference in New Issue
Block a user