[Intel-gfx] [PATCH 4/4] drm/i915: Slice Shutdown - Only 1 slice enabled by default to save power.

Rodrigo Vivi rodrigo.vivi at gmail.com
Tue Nov 5 23:44:16 CET 2013


for better power savings.

v2: Use number of slices (1,2) instead of 0 for half and 1 for full.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 71bac6a..d9ee939 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -154,10 +154,10 @@ module_param_named(prefault_disable, i915_prefault_disable, bool, 0600);
 MODULE_PARM_DESC(prefault_disable,
 		"Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only.");
 
-int i915_gt_slices __read_mostly = 2;
+int i915_gt_slices __read_mostly = 1;
 module_param_named(gt_slices, i915_gt_slices, int, 0600);
 MODULE_PARM_DESC(gt_slices,
-		 "Haswell GT3 has two slices with many EUs in each of them. Use 2 for better performance or 1 for better power savings. (default:2)");
+		 "Haswell GT3 has two slices with many EUs in each of them. Use 2 for better performance or 1 for better power savings. (default:1)");
 
 static struct drm_driver driver;
 extern int intel_agp_enabled;
-- 
1.7.11.7




More information about the Intel-gfx mailing list