From af92eefbe762c5a178701d6b46070ada6f8d3a0f Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Wed, 24 Dec 2014 15:51:27 -0800 Subject: [PATCH] drm/i915/hsw: Adjust default context PS thread count HSW PS threads must be limited to the max threads in the system. On GT1 this is 70. Set it to 40 to be safe. v2: Make it 39 "This field must have an odd value so that the max number of PS threads is even." Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_renderstate_gen7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_renderstate_gen7.c b/drivers/gpu/drm/i915/intel_renderstate_gen7.c index 6551806..da8ecee 100644 --- a/drivers/gpu/drm/i915/intel_renderstate_gen7.c +++ b/drivers/gpu/drm/i915/intel_renderstate_gen7.c @@ -144,7 +144,7 @@ static const u32 gen7_null_state_batch[] = { 0x000002c0, 0x08080000, 0x00000000, - 0x28000402, + 0x13800402, /* Limit to 39 for HSW GT1 */ 0x00060000, 0x00000000, 0x00000000, -- 2.2.1