| From f57f9c167af7cb3fd315e6a8ebe194a8aea0832a Mon Sep 17 00:00:00 2001 |
| From: Jesse Barnes <jbarnes@virtuousgeek.org> |
| Date: Wed, 11 Apr 2012 09:39:02 -0700 |
| Subject: drm/i915: make rc6 module parameter read-only |
| |
| From: Jesse Barnes <jbarnes@virtuousgeek.org> |
| |
| commit f57f9c167af7cb3fd315e6a8ebe194a8aea0832a upstream. |
| |
| People have been getting confused and thinking this is a runtime control. |
| |
| Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> |
| Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/gpu/drm/i915/i915_drv.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/drivers/gpu/drm/i915/i915_drv.c |
| +++ b/drivers/gpu/drm/i915/i915_drv.c |
| @@ -64,7 +64,7 @@ MODULE_PARM_DESC(semaphores, |
| "Use semaphores for inter-ring sync (default: -1 (use per-chip defaults))"); |
| |
| 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, |
| "Enable power-saving render C-state 6 (default: -1 (use per-chip default)"); |
| |